Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Div scrolling function problem- works fine in ff, but problems in ie

Status
Not open for further replies.

eggtrade

Technical User
Sep 4, 2007
2
GB
Hi,


Clicking between the pages in the top navbar should produce a scrolling function- which my brother wrote for me. Works fine in ff but i cant get it to work on ie6 (and presumablly ie7) for the life of me! The thickbox feature doesnt work either but I should be able to sort that out myself.

Any help would be GREATLY appreciated.

Thanks guys
 
your site renders okay for me in FF, but in IE7, the content portion is somewhere (maybe all the way at the bottom) that it's not supposed to be.

<soapbox>i question this overall design. it is not search-engine friendly, there are images where text will do better, and none of your internal pages are bookmarkable. i'd also never use javascript to navigate through a site.</soapbox>



*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Yeah your right- this is my first website so i appreciate its a bit of a mess in places!

The reason i used javascript for navigation is because i didnt want to have to reload the whole page to click between content pages. As you can see there are only small changes between each conent page.

Is there a way to produce a similar effect with css/html, where i can just reload certain div's onclick?

I'm fairly new to all this so appreciate any help but was under the impression i could only really do this in javascript.
 
your best bet is to use some form of server-side include on each of your separate pages. this is standard practice among many websites.

another (crappy) alternative is frames/iframes, although these are also not bookmarkable and an antiquated tool for the functionality you desire.

see if your host supports server-side includes (most do, in one form or another). then you can store different portions of your code (header, navigation, footer) in separate files and include them where necessary.



*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top