PDA

View Full Version : Problem with multistyle


Dr_HUS
11-18-2005, 06:13 AM
Hello all & thank you fro this amazing hack (JUST WAW)

after i run the GAL on my forms (the pro version)
i notice that give me JavaScipt error when i mouseover the GAL link (replacement on my thread)..

the link work well but only the popup (java one) doesn't work & give Javascript error

after some testing .. i notice that the error doesn't appear on default style only ...
but it show with other styles

also

i notice that the default style
have

<!-- content table -->
<div id="GALBox" style="text-align: left;position: absolute; z-index: 100; visibility: hidden;" onmouseover="this.style.visibility='visible';" onmouseout="this.style.visibility='hidden';"></div><script type="text/javascript" src="http://www.XXXXXXXXX.com/geek/gal/clientscript/gal_popup.js"></script><!-- open content container -->

but the other styles dost have this line (so it give java script error)..

how can i solve this!!

The Geek
11-19-2005, 08:49 AM
It sounds like your other styles do not contain the $spacer_open variable!?!?

ANyhooo - best workaround is to take the line you entered above and add it to the header of the styles that are not working.
In the next version I have a better way of doing this anyway!

Dr_HUS
11-19-2005, 09:23 AM
Ahh i c,
i have $spacer_open but not in header, i have it on navbar..

The Geek
11-19-2005, 03:12 PM
Ah right. Just put the HTML you put in your post in your header OR navbar template. As I mentioned before, next version has a better way of doing this.

HTHs