HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 9th, 2005, 10:32 AM
chabuhi chabuhi is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 89 chabuhi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 7 h 55 m 54 sec
Reputation Power: 5
Hiding URLs

I've got a link in a page that opens a new browser instance (target="_blank")

I've learned how to prevent the URL from appearing when the user hovers the mouse over the link, but is there a way to "blank out" the address bar in the new browser window that pops up?

Reply With Quote
  #2  
Old February 9th, 2005, 01:38 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 9
* Scene: The WebCave... full of search engine spiders and their webs
WebComputer: Bad practice Alert! Bad practice Alert!
Web Standards Man: Where, computer?
WebComputer: HTML forums, standards man!
Web Standards Man: Jeeves, quick! fetch my DOM utility belt!
Jeeves: its still in the wash, standards man
Web Standards Man: nevermind... to the ECMAMobile!

* Obligatory Web Standards Man music: "Da-na-nah-na-Da-na-nah-na... Standards Man! Da-na-nah-na-Da-na-nah-na... Standards Man! "

---------------------------------------

Oooookay, Chabuhi...

Hiding URIs from the visitor is a Very Bad Thing (tm) (mmm'kay?), oh and the target="" attribute has been dropped from XHTML

If by "preventing the URL from appearing when the user hovers the mouse over the link", you mean "I overrode the IE6 status bar with my 1337 javascript!" then you've just broken ECMAScript! Thank you! A round of applause to chahubi for beginning a crash course in "learn how to phish!"

....Web site visitors trust the status bar and ALL browser-chrome to tell the truth (thank you, IE devs, for preventing this), and overriding the status bar is not the sort of thing you want to do if you want to win friends of the site visitors

Anyway, Standards Man, myself... will assist citizen chabuhi in getting address-bar less popups to appear

QuirksMode.org has an interesting article on W3C-DOM popups, so here's what he wrote for your convienience:

http://www.quirksmode.org/js/popup.html#attributes

Example link:

Code:
<p>See also the <a href="../key.html" type="popup">key</a> to my compatibility tables.</p>
  


And the W3C DOM ECMAScript

Code:
  var x = document.getElementsByTagName('a');
 for (var i=0;i<x.length;i++) {
 	if (x[i].getAttribute('type') == 'popup') {
 		x[i].onclick = function () {
 			return pop(this.href) }
 		x[i].title += ' (Popup)';
 	}
 }


Unfortunatly... I've run out of time to tell you how to remove the address bar

Wait for my side-kick ShadowWizard to arrive and fill you in on this one

Good day, fair citizen of ASPFree!

*Flies off*

Last edited by 1337_d00d : February 9th, 2005 at 01:41 PM.

Reply With Quote
  #3  
Old February 9th, 2005, 02:00 PM
lewy's Avatar
lewy lewy is offline
Alter Ego Wizard
Click here for more information.
 
Join Date: Jun 2004
Location: Edinburg Tx
Posts: 4,384 lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 1009 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 1 Day 23 h 40 m 30 sec
Reputation Power: 1488
* Scene: The WebCave... full of search engine spiders and their webs
WebComputer: Bad practice Alert! Bad practice Alert!
Web Standards Man: Where, computer?
WebComputer: HTML forums, standards man!
Web Standards Man: Jeeves, quick! fetch my DOM utility belt!
Jeeves: its still in the wash, standards man
Web Standards Man: nevermind... to the ECMAMobile!

* Obligatory Web Standards Man music: "Da-na-nah-na-Da-na-nah-na... Standards Man! Da-na-nah-na-Da-na-nah-na... Standards Man! "

Can't stop laughing...... best thing I've heard in a while.

Reply With Quote
  #4  
Old February 9th, 2005, 03:26 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,721 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 5 h 20 m 20 sec
Reputation Power: 1914
lol
Dude, what are you on?
well, you can't change the text in the address bar, but you can hide it when opening the window by having such code:
Code:
<a href="page.asp" target="newWindow" onclick="window.open('page.asp', 'newWindow', 'location=0'); return false;">click me</a>

this code would open page.asp as pop up window that has no address bar at all...
more info can be found here:
http://www.javascript-coder.com/win...ndow-open.phtml

Reply With Quote
  #5  
Old February 15th, 2005, 11:55 AM
chabuhi chabuhi is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 89 chabuhi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 7 h 55 m 54 sec
Reputation Power: 5
Actually, "Elite Dude", it's to protect an internal address from the prying eyes of such creatures of the night as yourself and your buddy Batman. But thanks for automatically suspecting me of being up to no good rather than just being inexperienced. Explains your handle anyway. So glad I came back to look for an answer. No seriously, I truly enjoy being made to feel stupid by someone whose pantheon of knowledge is so clearly overwhelming when I was simply asking a question to which I don't know the answer. And then to malign me with such accusations ... very worthwhile.

I await your doubtlessly witty reply of "methinks the lady doth protest too much" with great eagerness.

Reply With Quote
  #6  
Old February 15th, 2005, 12:01 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,721 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 5 h 20 m 20 sec
Reputation Power: 1914
Quote:
Originally Posted by chabuhi
Actually, "Elite Dude", it's to protect an internal address from the prying eyes of such creatures of the night as yourself and your buddy Batman. But thanks for automatically suspecting me of being up to no good rather than just being inexperienced. Explains your handle anyway. So glad I came back to look for an answer. No seriously, I truly enjoy being made to feel stupid by someone whose pantheon of knowledge is so clearly overwhelming when I was simply asking a question to which I don't know the answer. And then to malign me with such accusations ... very worthwhile.

I await your doubtlessly witty reply of "methinks the lady doth protest too much" with great eagerness.

chill down, I won't allow flame wars here. unlike you, he didn't offend you personally he just mentioned that your way is not standard.
anyways, read my post, I've given sample code that I believe would help.

Reply With Quote
  #7  
Old February 15th, 2005, 12:03 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
Click here for more information.
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,781 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 8 h 45 m 55 sec
Reputation Power: 470
Wow...sounds like somebody can't handle "Constructive Criticism".

All of us were beginners at one time and were treated with utter distain and disrespect, it comes with the territory of being a newbie.
Everybody pays their dues!

Now suck it up, drive on, gain experience and treat others badly...that's the never ending cycle of programming!

Last edited by Memnoch : February 15th, 2005 at 12:05 PM.

Reply With Quote
  #8  
Old February 15th, 2005, 12:10 PM
chabuhi chabuhi is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 89 chabuhi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 7 h 55 m 54 sec
Reputation Power: 5
Even more helpful, Memnoch. Sad thing is, l33t d00d actually had an answer in there but getting to his "punchline" was such a chore that I missed it.

So I guess the rule is that it's okay to be dished on but not okay to dish back?

Anyway ... thanks for the code ideas (and I do mean that part sincerely). And you'll just have to trust me that I'm using my slight but growing powers for good and not evil.

See you all back at the Justice League.

Reply With Quote
  #9  
Old February 16th, 2005, 05:36 AM
relaxzoolander relaxzoolander is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: Columbus, Ohio
Posts: 15 relaxzoolander User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 2 sec
Reputation Power: 0
Quote:
Originally Posted by 1337_d00d
.........is a Very Bad Thing (tm) (mmm'kay?),.........
nice touch.



Quote:
Originally Posted by chabuhi
........actually had an answer in there but getting to his "punchline" was such a chore.....
its all about the punchline....rock on _d00d!


Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Hiding URLs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT