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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Resizing a _blank window
Old 05-27-2007, 11:49 PM Resizing a _blank window
Novice Talker

Posts: 10
Name: Kacey Coughlin
Location: La Jolla, CA
Trades: 0
I want to have hyperlinks open in a new window, but only to the size of the content inside (ie an image). I know there's gotta be an easy way to do it, I just can't seem to find it. I've tried multiple javascript scripts on the subject, but none seem to work right. Is there just a simple html or css script i can add to the <a href=""> ??
Mackovision is offline
Reply With Quote
View Public Profile Visit Mackovision's homepage!
 
 
Register now for full access!
Old 05-28-2007, 01:45 AM Re: Resizing a _blank window
taketherisk's Avatar
Skilled Talker

Posts: 89
Name: Brett
Location: New Zealand
Trades: 0
<a href="javascript:window.open('http://g-arcade.com','','600,800');">online games</a>

There you go.
__________________

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
taketherisk is offline
Reply With Quote
View Public Profile
 
Old 05-28-2007, 03:41 PM Re: Resizing a _blank window
Novice Talker

Posts: 10
Name: Kacey Coughlin
Location: La Jolla, CA
Trades: 0
I think my problem may be because I have the table of hyperlinks in a javascript jar with document.write making the table. But when I try to add any javascript functions to the a href tag, the whole table disappears from the page. Is it possible to have functions in a document.write jar?
Mackovision is offline
Reply With Quote
View Public Profile Visit Mackovision's homepage!
 
Old 05-29-2007, 03:08 PM Re: Resizing a _blank window
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You might want to try something like LightBox instead:
http://ahavriluk.home.comcast.net/lightboxEx/doc/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Resizing a _blank window
 

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.65482 seconds with 12 queries