The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Auto-Linker

Geek Auto-Linker GAL automatically links keywords that users type in posts to advertising hover pop-ups.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2005, 05:13 AM
Dr_HUS Dr_HUS is offline
Junior Member
 
Join Date: Nov 2005
Posts: 14
Geek Auto-Linker Pro License Holder 
Default Problem with multistyle

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

PHP Code:
<!-- 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!!
Reply With Quote
  #2  
Old 11-19-2005, 07:49 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

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!
Reply With Quote
  #3  
Old 11-19-2005, 08:23 AM
Dr_HUS Dr_HUS is offline
Junior Member
 
Join Date: Nov 2005
Posts: 14
Geek Auto-Linker Pro License Holder 
Default

Ahh i c,
i have $spacer_open but not in header, i have it on navbar..
Reply With Quote
  #4  
Old 11-19-2005, 02:12 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.