HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Same Url in Address bar after following a link Posted by qaidskey on 1 Mar 2003 at 7:24 PM
Basically what the title says. i would like to know how i could show the same url in the address bar of a browser even after i click on a link. anyone know how to do this?
Report
Re: Same Url in Address bar after following a link Posted by Jonathan on 3 Mar 2003 at 4:40 AM
: Basically what the title says. i would like to know how i could show
: the same url in the address bar of a browser even after i click on a
: link. anyone know how to do this?
Only way I've ever seen this done (reliably) is by using a single frame so the URL of the frameset page is left in the address bar and the site loads in the frame. I think this is what you mean, anyway...

Jonathan



-------------------------------------------
Count your downloads:
http://www.downloadcounter.com/
And host your site:
http://www.incrahost.com/
Don't say I never give you anything...

Report
Re: Same Url in Address bar after following a link Posted by qaidskey on 3 Mar 2003 at 3:41 PM
k. well i tried that. but i also have a login feature that kicks it too a 3 frame set, and when it logs out it kicks it back to a single page, but i want it to go back to the original entry pages frame. so that i keeps showing the same thing. ne idea how i could do that?
Report
Re: Same Url in Address bar after following a link Posted by Jonathan on 4 Mar 2003 at 4:32 AM
Hi,

I guess if you're doing something like target="_top" at some point in an <a ...> then that will be the problem. You can always name the frame you created and then set the target to that name.

Hope you get what I mean,

Jonathan



-------------------------------------------
Count your downloads:
http://www.downloadcounter.com/
And host your site:
http://www.incrahost.com/
Don't say I never give you anything...

Report
got that done, you wouldn't happen to know how to... Posted by qaidskey on 5 Mar 2003 at 4:20 PM
well i figured it out, after a couple session variables (ASP) i got it to work. thanx for the frame idea.
but you wouldn't happen to know how todo the following would u?:

-how can i display things in the status bar? (Like: "hello and welcome to my page" sorta thing)

if you don't know how do you mebe know where i could ask in the forums about that?
Report
Re: got that done, you wouldn't happen to know how to... Posted by Jonathan on 6 Mar 2003 at 9:01 AM
: -how can i display things in the status bar? (Like: "hello and
: welcome to my page" sorta thing)
You need to use JavaScript. I think it's something like:-

window.status = 'Hello and welcome to my page';

: if you don't know how do you mebe know where i could ask in the
: forums about that?
There is a JavaScript forum that may be better for questions relating to harder JavaScript stuff...

Jonathan


-------------------------------------------
Count your downloads:
http://www.downloadcounter.com/
And host your site:
http://www.incrahost.com/
Don't say I never give you anything...

Report
Re: got that done, you wouldn't happen to know how to... Posted by qaidskey on 6 Mar 2003 at 2:35 PM
This message was edited by qaidskey at 2003-3-6 14:47:51

thanx for all the help!

actually. it works with that. but do u know by ne chance how to get it so that it hides links? i mean when u go over something that has a link it shows in the status bar. i got the window.status thing to work, but when it goes over a link instead of flashing and going back it just shows the link. ne idea how i could get it to go back?
Report
Re: got that done, you wouldn't happen to know how to... Posted by Jonathan on 7 Mar 2003 at 2:15 AM
: thanx for all the help!
No problem....

: actually. it works with that. but do u know by ne chance how to get
: it so that it hides links? i mean when u go over something that has a
: link it shows in the status bar. i got the window.status thing to
: work, but when it goes over a link instead of flashing and going back
: it just shows the link. ne idea how i could get it to go back?
I think you may need to put some code on each link...

<script language="javascript">

function ShowMessage() {
    window.status = 'Your message here';
}

</script>

<a href="somewhere.htm" onMouseOver="javascript:ShowMessage();">


Or something like that.

Jonathan

-------------------------------------------
Count your downloads:
http://www.downloadcounter.com/
And host your site:
http://www.incrahost.com/
Don't say I never give you anything...




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.