MAVERICK
asked on
RE: URL Gripper
I'm looking for some code to fix the URL showed in the location bar to "http://www.myproject.com/" while browsing my website, but reverting to normal as soon as they leave.
What shows now?
ASKER
???? what you mean??
You said:
>code to fix the URL showed in the location bar
What shows there now and how do you want to fix it? What do you want to show?
>code to fix the URL showed in the location bar
What shows there now and how do you want to fix it? What do you want to show?
I visited your web site and it asked for a logon... are you talking about the URL that displays for logon sites sometimes like userid:password@http://www.mysite.com
how to get rid of that when they leave??? or what?
CJ
how to get rid of that when they leave??? or what?
CJ
ASKER
http://www.myproject.com or mysite.com ... is not mine... It was just a example URL,,,,
'fix' as in lock the location bar to "http:\\www.someURL.com" so when I'm on that site.... It only says "http:\\www.someURL.com" ..... not changing every time I visit different page on that site...
once I go outside www.someURL.com ... then I want it to return to normal
'fix' as in lock the location bar to "http:\\www.someURL.com" so when I'm on that site.... It only says "http:\\www.someURL.com" ..... not changing every time I visit different page on that site...
once I go outside www.someURL.com ... then I want it to return to normal
ASKER
have a look at http://www.namesecure.com/services/define_gripper.cfm
thats what im talking about...:)
thats what im talking about...:)
Use frames... thats an easy solution.
Create an index.html file that
has two frames
a 1x1 frame (hidden frame) and
the rest as your main frame.
Place your site in the main frame.
Your site should function normally and
since the url in the frame is the only one that is changing and not the main url it will stay displaying www.whatever.com
CJ
Create an index.html file that
has two frames
a 1x1 frame (hidden frame) and
the rest as your main frame.
Place your site in the main frame.
Your site should function normally and
since the url in the frame is the only one that is changing and not the main url it will stay displaying www.whatever.com
CJ
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
for alot of my sites I use free-hosting and most cause trouble with frames... that'd lock the domain to something like "www.somefreehost.com/index.cgi?Stuff=122434539433" ....
one of my sites uses a subdomain of the one I want to use "mysite.somefreehost.com" but doesn't allow CGI and frames dont work properly..
Thanks
one of my sites uses a subdomain of the one I want to use "mysite.somefreehost.com" but doesn't allow CGI and frames dont work properly..
Thanks
Then you are dead except for the <meta method!
ASKER
??? <Meta Method?? Can you be more specific??? like what is the HTML to do that...
how come frames don't work properly??
CJ
CJ
ASKER
because they insert a autobanner at the top..... and if I used frames it would be in all the frames aswell....
It is definitely naughty, but you could use some Javascript to open a window in _top that would undo their frames. I do not like this because you are gaining use of their system in return for carrying their banner and it does not seem ethical to defeat that.
ASKER
I just want the URL gripper to work.... some how.... its not the banners I have a problem with ... Its what they do when you use the frames.. they have some way of setting minimum frame size,,,,
I think that if you do not like what they offer for free then you will need to find another host. I guess you are getting what you pay for.
ASKER
yeah ,,, but that doesn't answer the question! you mentioned the Meta Method ... Can you explain further?
All I mean by "the meta method" is that you can of course do a
<meta http-equiv="refresh" content="....>
in your html to cause different frames contents to be loaded, etc.
Be specific about host and give us a URL that we can see the problem and maybe we will be able to make a better suggestion.
<meta http-equiv="refresh" content="....>
in your html to cause different frames contents to be loaded, etc.
Be specific about host and give us a URL that we can see the problem and maybe we will be able to make a better suggestion.
The only way I know of to restrict a location from displaying in the address bar is by using frames. You could use the sites banner bar as the parent window and then use your own stuff as the child window.
ASKER
MGFRANZ: ok.... I'm testing the frames idea on my own web server... can you provide the exact code?
thanks
thanks
I will need some info, like the size of the banner. Can you provide a reference URL?
Mark
Mark
ASKER
I've got a test site up at http://maverick203.webjump.com
I've tried using frames but it inserts its banner inside the frame.
that site is causing problems at the moment.. but I'll put the frame one on in the next couple of days....
I've tried using frames but it inserts its banner inside the frame.
that site is causing problems at the moment.. but I'll put the frame one on in the next couple of days....