Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
full path is not displayed in the address bar in browser!?!?
Old 02-25-2004, 01:18 PM full path is not displayed in the address bar in browser!?!?
Novice Talker

Posts: 8
Trades: 0
Have a look at the page below:

http://homepage.ntlworld.com/ramzy.el.korashy/

and view the source code, notice I have not used 100% framsets. Click around the website only using the white on grey links at the top of the site (i have made these links point to ntlworld webspace to show whats happening). The address bar in browser updates fine.

But I have a domain name (listed below) and it is pointing to this webspace, but when I link to this name it does not update address in browser, it just stays the same. Click images links in the left margin to see for yourself. Tellingly, if you now look at the source code, a 100% framset has been created and and all of the code has gone.

http://www.huxley-scientific.com/

What is going on? Please help...
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
 
Register now for full access!
Old 02-25-2004, 01:19 PM
Novice Talker

Posts: 8
Trades: 0
*frameset doh!
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
Old 02-25-2004, 01:22 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
Heheheh. I see you figured out your own problem.


BTW - welcome to WT.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 02-25-2004, 02:30 PM
Novice Talker

Posts: 8
Trades: 0
er no! i was just correcting spelling of frameset!

i'm still as confused as ever.
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
Old 02-25-2004, 02:51 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
Your site is in a frameset. That's why it's not displaying the pages in the address bar. The address bar will only display the URL of the topmost frameset.
Code:
<FRAMESET ROWS="100%,*" BORDER="0" FRAMEBORDER="0">
<FRAME SRC="http://homepage.ntlworld.com/ramzy.el.korashy/" SCROLLING="AUTO" NAME="bannerframe" NORESIZE>
</FRAMESET>
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 02-25-2004, 03:51 PM
Novice Talker

Posts: 8
Trades: 0
read my first post again (click on the first link) and look at source code on
http://homepage.ntlworld.com/ramzy.el.korashy/

you will see that i have not used framesets at all.

only when i have www.huxley-scientific.com pointing to webspace it creates 100% framset for some reason.
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
Old 02-25-2004, 04:51 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
Yes. It's because instead of simply redirecting the visitor to the other page, your site is being thrown into a frameset (this is usually done to keep the URL of your domain name in the browser).

Often, hosts will give the option of using Frame-Forwarding or regular forwarding. A lot of people like frame-forwarding because it masks the URL of the actual site in the address bar.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 02-28-2004, 03:09 PM
Novice Talker

Posts: 8
Trades: 0
Yes I spoke to my host, and they only provide frame-forwarding.

I guess i'll just leave it like it is, thanks a lot for your help.
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
Old 02-28-2004, 07:15 PM
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
You could just break out of the frames after the redirection if you wanted to.
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 03-06-2004, 03:38 PM
Novice Talker

Posts: 8
Trades: 0
I searched google for break out of frames and it turns out all I need to do was add: target="_top" to all of my links, as below

<A HREF="index.html" target="_top">

Easy when you know how eh!

Thanks for the tip
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
Old 03-06-2004, 03:50 PM
Average Talker

Posts: 22
Trades: 0
Quote:
Originally posted by moonhaan
I searched google for break out of frames and it turns out all I need to do was add: target="_top" to all of my links
Better to add this javascript to the head:

Code:
<script language="javascript" type="text/javascript">
if (window.location != top.location) {top.location.href=window.location}
</script>
__________________
humour:
Please login or register to view this content. Registration is FREE
/
Please login or register to view this content. Registration is FREE

music:
Please login or register to view this content. Registration is FREE
subvulture is offline
Reply With Quote
View Public Profile Visit subvulture's homepage!
 
Old 03-08-2004, 10:00 AM
Novice Talker

Posts: 8
Trades: 0
why is it better?

if you use scripts to do it the back button doesn't work on the browser.
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
Old 03-10-2004, 10:08 AM
Average Talker

Posts: 22
Trades: 0
It's better for two reasons: it automatically breaks frames when your site is loaded rather than waiting for someone to click a link, and to insert this only requires each file to be edited once rather than every single link edited.
__________________
humour:
Please login or register to view this content. Registration is FREE
/
Please login or register to view this content. Registration is FREE

music:
Please login or register to view this content. Registration is FREE
subvulture is offline
Reply With Quote
View Public Profile Visit subvulture's homepage!
 
Old 03-10-2004, 04:22 PM
Novice Talker

Posts: 8
Trades: 0
The only thing is the address bar in browser now says: http://homepage.ntlworld.com/ramzy.el.korashy/
and I want it to say www.huxley-scientific.com/

Is there any way to force it to say this, and still break out of frame?
moonhaan is offline
Reply With Quote
View Public Profile Visit moonhaan's homepage!
 
Old 03-11-2004, 06:30 AM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
Unfortunately not. Because the page is actually on the NTL server, unless it is 'cloaked' by frames it will always have to appear in the address bar. I think there might be one of the domain name redirection services (it could be MyDomain.com) who have their servers set up to automatically generate frames pages for any page requested on your site, so you would just link with _top to www.huxley-scientific.com/page.html and it would create a new frames page which points to htt://long ntl address/page.html
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to full path is not displayed in the address bar in browser!?!?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41533 seconds with 12 queries