Jump to content

white page when i enter a java menu code


bomozah

Recommended Posts

Hello

 

i have WHMCS Scripts & i'm trying to add a java+css menu in the header

this is the menu

http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/

 

i have put the html in <body> area and it's seems every thing ok except when i put the Css code in the <head> like this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
<head>
<base href="{$systemurl}" />
<link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" />
<link rel="stylesheet" type="text/css" href="templates/{$template}/jqueryslidemenu.css" />

<!--[if lte IE 7]--!>
<style type="text/css">
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="templates/{$template}/jqueryslidemenu.js"></script>

<meta http-equiv="content-type" content="text/html; charset={$charset}" />
<title>{$companyname} - {$pagetitle}{if $kbarticle.title} - {$kbarticle.title}{/if}</title>
</head>

 

it's give me a white page

 

how can i fix that ?

Link to comment
Share on other sites

thank you "BAJI26"

i have fix the issues by removing this line

 

<!--[if lte IE 7]>

<style type="text/css">

html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/

</style>

<![endif]-->

 

Regards

Link to comment
Share on other sites

{literal} will take care of whatever you need to. But just keep in mind that if you're going to use smarty vars in your JS then you'll have to {/literal} before them and {literal} after. I'vev got a few foreach's in my JS and you should see all the {literal} tags :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated