Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

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 Codewalkers Forums Sponsor:
  #1  
Old May 7th, 2005, 01:45 AM
jweizenblut jweizenblut is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Miami, Fl. US
Posts: 522 jweizenblut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 29 sec
Reputation Power: 2
Send a message via AIM to jweizenblut Send a message via Yahoo to jweizenblut
HREF Pop-Up....

I have a couple of links that I need to modify so that they open POP-UP like windows. Problem is that I would like them not to have an address bar and want to be able to define the height, width, position, scrollbars and so forth. I am unaware of any way to do this. Any help would be truly appreciated.

My code so far is as follows:

php Code:
Original - php Code
  1.  
  2.  
  3. <a href="<?php echo $url; ?>" target="_new">LINK LIST</a>
  4.  


How do I modify my code so that it opens a pop-up like window?

Reply With Quote
  #2  
Old May 7th, 2005, 05:10 AM
trippleweb's Avatar
trippleweb trippleweb is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Victoria, BC, Canada
Posts: 702 trippleweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 26 m 5 sec
Reputation Power: 2
RE: HREF Pop-Up....

Search the net for javascript new window, there are many variations,

http://www.pageresource.com/jscript/jwinopen.htm

Reply With Quote
  #3  
Old May 7th, 2005, 06:41 PM
jweizenblut jweizenblut is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Miami, Fl. US
Posts: 522 jweizenblut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 29 sec
Reputation Power: 2
Send a message via AIM to jweizenblut Send a message via Yahoo to jweizenblut
RE: HREF Pop-Up....

Yes, I have seen those new window javascripts. The problem is that they all involve having somekind of input. Like a button. Which is exactly what I cannot use. I need to have this work with actual links.

Reply With Quote
  #4  
Old May 7th, 2005, 09:09 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: HREF Pop-Up....

you can use an onclick event in the href tag just like you would in a button..

<a href="<?php echo $url; ?>" onclick="window.open(this.href,'popup','(options go here)');return false;">LINK LIST</a>

Reply With Quote
  #5  
Old May 10th, 2005, 09:57 PM
jweizenblut jweizenblut is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Miami, Fl. US
Posts: 522 jweizenblut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 29 sec
Reputation Power: 2
Send a message via AIM to jweizenblut Send a message via Yahoo to jweizenblut
RE: HREF Pop-Up....

Thank you! It works.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > HREF Pop-Up....


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 3 hosted by Hostway
Stay green...Green IT