Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Inner html link problem in IE, but works in other browsers.
Temjin
Junior Member

Posts: 2
Registered: 8/12/2004
Member Is Offline
posted on 10/6/2004 at 02:30 PM Reply With Quote
Inner html link problem in IE, but works in other browsers.


Hello,

Got this problem with the inner html in the level 0 menu item script where clicking on it does not direct me to the desired link.

This is the inner html I used at the level 0 for the menu items,

['<table class="Classname" border="0" cellpadding="0" cellspacing="0"><tr><td width="150">Some_name</td><td>></td></tr></table>', 'somepage.aspx', null,

Obviously, I wanted an arrow ">" that indicate the menu has additional levels. The title text is aligned on the left and the ">" text is aligned on the right.

Now, note that this works PERFECTLY in both Netscape (7.1) and Fireworks (v1.0) but it DOES NOT WORK in Internet Explorer at all.

When I hover my mouse over the menu link in Netscape and Fireworks, the url will be shown correctly at the bottom of the browser window. (i.e. it points to somepage.aspx)

But if I do that in Internet Explorer, it will display something like

<table class="Classname" border="0" cellpadding="0" cellspacing="0"><tr><td width="150"> (Some_name.......

(Note the opening bracket for the title text, I can't see the end cos the line was too long)

Anyway, can somebody tell me what is wrong with this? I have not tried the Wrapper method yet so I don't know if it will solve it. (but I don't know how to implement iit anyway) Also note that other level links work perfectly in all browsers. Using Tigra Menu v2.0.

Thanks.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 10/6/2004 at 06:16 PM Reply With Quote

Correct syntax for '>' in HTML is &gt;
View User's Profile View All Posts By User U2U Member
Temjin
Junior Member

Posts: 2
Registered: 8/12/2004
Member Is Offline
posted on 10/7/2004 at 03:27 AM Reply With Quote

Thanks for replying.

I've changed the html line to

['<table class="Classname" border="0" cellpadding="0" cellspacing="0"><tr><td width="150">Some_name</td><td>&gt;</td></tr></table>', 'somepage.aspx', null,

Nothing changed when I do this. While the ">" is shown correctly, clicking on the menu in IE still doesn't direct me to the link. Though this still works in both Netscape and Firefox. The "displayed url" shown in the bottom of the IE browser still remain as the same, it just display the html code, not the link itself.

Am i missing something? I am using the compressed script as well. But I remember the uncompressed script still produced the same problem.

Please help, thank you.

Regards,

Temjin
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 10/7/2004 at 04:32 PM Reply With Quote

Ah, now got it

in Tigra Menu (free version) the item rectangle is <a> tag so following item:

['<table class="Classname" border="0" cellpadding="0" cellspacing="0"><tr><td width="150">Some_name</td><td>&gt;</td></tr></table>', 'somepage.aspx', null,

will result in following HTML code:

<a href="'somepage.aspx"><table class="Classname" border="0" cellpadding="0" cellspacing="0"><tr><td width="150">Some_name</td><td>&gt;</td></tr></table></a>

if you put that in static page you'll see that table is not sensitive to link.
the solutions are:
1. duplicate anchor link within the table (may not look/work great):

<a href="'somepage.aspx"><table class="Classname" border="0" cellpadding="0" cellspacing="0"><tr><td width="150"><a href="'somepage.aspx">Some_name</a></td><td>&gt;</td></tr></table></a>

2. upgrade to tigra menu pro or tigra menu gold. those products use separate layer over the item's area for mouse/link sensitive events.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004