well i have my site set up so that the navigation bar is a bunch of table cells with text inside them (visit the website below to see what i mean) and so if you press on the table, the link will load. but i kept a normal textual link (with the <a> tag) for older browsers and crawlers. so if they press the text, they actually activate the link twice (the normal link and the javascript both trigger). normally this is fine, because i have them load the page within my frames.
the problem is that i recently found a free forum place and i don't have the time nor the resources to make and host my own forum. SO i signed up and put a link on my page on this navigation stuff that will open it in a new window (the main problem in opening in my frames is that i cannot modify the theme because of the forum because i'm using the free one and the white background and all looks horrible within my frames). so i make my <a> tag target _blank to open a new window....then i get to the javascript.........
when the table cell is pressed, it activates a script that opens a new window. but if you press the text, it will open two windows....not good for the user.
i need someway of either stopping the javascript request if the text is click (namely some kind of function triggered from <a onClick="func();">) OR a function with the same trigger that closes the javascript window i opened.
any suggestions?
thanks in advance.
----------------------------
http://aeonofdarkness.com