Forum Moderators: open

Message Too Old, No Replies

not showing any other links than index.html in the addressbar

         

Jeroentje

12:22 pm on Aug 30, 2004 (gmt 0)

10+ Year Member



I'm not sure how to describe this problem much different in the way I did in the topic. When people load my website and visit links along it, they will see the sepperate frame links in the adressbar when they pull down the list @ the adressbar. This way they might click on one of those links and they will only see the frame itself without the main navigation etc (well you get the problem ::).
Sorry about being so vague but is there a simple solution for this? thx in advance.

tedster

5:54 pm on Aug 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums, Jeroentje.

If I understand you properly, this is just the way frames work. Only the address of the frameset shows in the location bar. It's one of several problems that frames present as a web interface. As Jakob Nielsen says "Frames break the metaphor of the web."

The only real cure, IMO, is a redesign that doesn't use frames.

Jeroentje

10:39 am on Aug 31, 2004 (gmt 0)

10+ Year Member



i see, thx for the reply :p

however I've seen other pages with frames (just as mine), which don't display the .htm files in de adressbar. It just remains like this: [exampleofaname.com...]

where as mine would show: [exampleofaname.com...]

now I don't want those html files showing up, just my domain name? isn't that possible for me to adjust?

tedster

11:15 am on Aug 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



...they will only see the frame itself without the main navigation

Now that I read closer, I'm thinking this is the heart of the problem you want to fix, isn't it? If so, see message #21 in this thread:

Force Many Pages Into Frames [webmasterworld.com]

It's a javascript solution that will take a framed page that someone accesses directly, and put it back into the frameset - so all the navigation and so on is there for them.

It will create some even crazier looking urls in the address bar. However, the page itself will be a lot more usable. Frames are messy.

Jeroentje

11:37 am on Aug 31, 2004 (gmt 0)

10+ Year Member



yep that's a usefull script thx.

Still it doesn't answer my core problem. Let me try to restate it.
When a person visits my page, I just want them to see
[adomainname.com...] in their adresbar, not matter what links they click on my page. Now I know this is possible, cause I've seen it on many other pages which are using frames.

Thx for the script anywas, it makes the site better indeed.

tedster

11:46 am on Aug 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Even when you type in www.example.com, the address bar switches to www.example.com/index.html? And then the address changes when they click on a link, even though your site is in a frameset?

That is very odd, unless you are not using a target attribute in your anchor tags, and are loading a complete new frameset every time instead.

I would suggest you find a site that works the way you want yours to work, and then view source to see what they are doing differently.

encyclo

12:26 pm on Aug 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you simply want to mask the real link address in the address bar, you can do it with some Javascript on each link:

<a href="link.html" target="main" onmouseover="window.status='Whatever text you want here';return true;" onmouseout="window.status='';return true;">Link to page</a>

It's rather cumbersome, but it works well (unless the user has disallowed the masking of the status bar text in their browser preferences).

Is that what you were looking for?