This is a discussion on "IE & Firefox" within the ASP.NET Forum section. This forum, and the thread "IE & Firefox are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
IE & Firefox
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
IE & Firefox
Hi all,
I have developed a menu system in asp.net. It is a simple expandable tree structure. It is working fine in IE but the problem is in Firefox. When i open the page in Firefox everything goes bananas. I think that it is to do with the javascript - but i'm not sure. Can anyone spot some issues with the code? it is probably very obvious. Sorry for posting so much code!! thanks in advance.
|
|
|
|
#2
|
|||
|
|||
|
any chance you can post the HTML output instead, i think it'll be alot easier to debug.
|
|
#3
|
|||
|
|||
|
Hey Smokie,
Thanks for the reply. I should have thought of looking at the output. Good idea. It seems to be writing the table before the header! There is a lot of it - Here it is:
|
|
#4
|
|||
|
|||
|
Well instead of response.write everything so it appears before the header, you could place it all into a string and write that in the html at the relevent point, or put all the code into a user control and place that at the correct place in the html.... or, in Page_Load write out your header first, although thats kinda messy.
|
|
#5
|
|||
|
|||
|
.. or you could write the output by taking advantage of the HTMLTextWriter
|
![]() |
| Tags |
| firefox |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Firefox Vs IE7 (CSS) | Monie | Web Page Design | 9 | Sep 20th, 2007 02:37 |
| Useful Firefox Add-ons | Antwan | Webforumz Cafe | 19 | Feb 21st, 2007 16:02 |
| alt tag in Firefox | afuller | Web Page Design | 8 | Dec 9th, 2006 19:16 |
| Need help regarding firefox vs. ie | james@thecultureofme | Web Page Design | 5 | Jun 2nd, 2006 14:32 |
| IE ok, Firefox no way | lizarddoctor | Web Page Design | 4 | Nov 27th, 2005 23:35 |