stargal98
08-28-2003, 09:50 AM
How would I go about finding a code that would allow me to keep the nav bar (on the left) and the logo of my website (on the top) and change the content (rest of the page) for internal links? Thanks!
|
Click to See Complete Forum and Search --> : Javascript frames question stargal98 08-28-2003, 09:50 AM How would I go about finding a code that would allow me to keep the nav bar (on the left) and the logo of my website (on the top) and change the content (rest of the page) for internal links? Thanks! pyro 08-28-2003, 09:55 AM What exactly are you asking? Can you just use <a href="link.htm" target="framename"> for individual links, or <base target="framename"> for all the links in that page? stargal98 08-28-2003, 09:57 AM I wanted to use an "on click" with my links, and I think that would mean Javascript. And then something to do with the frames... Basically, the layout never changes, just the box in which the content resides (like an include file). Does that make more sense? pyro 08-28-2003, 10:02 AM Yes, but using javascript will make your pages inaccessable to the 13% with javascript disabled, so you may want to re-think that... anyway, it might look something like this: <a href="page.htm" onclick="top.framename.location.href=this.href; return false;"> stargal98 08-28-2003, 10:05 AM thank you. I have an idea of what it'll look like now. The big thing was finding a site where I could find this explained, but I really appreciate your help. I don't think the disabled thing will be a problem, I think most people who will go to the page I have this planned for will be keeping javascript on... Thank you! :-) pyro 08-28-2003, 10:09 AM Sure thing... :) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |