Welcome to WebmasterWorld Guest from 54.147.63.124

Forum Moderators: open

Message Too Old, No Replies

Javascript pop-up window that automatically fits?

     
1:10 am on Jul 5, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 13, 2003
posts:52
votes: 0


Hey,

A while ago I ran across a Javascript pop-up script that would automatically resize itself to fit the exact dimenions of my picture. I don't care for the white border around all my pics on my pop-ups.

Have you seen a script like this or is there a way to do this differently? The code needs to have the ability to have a customizable size for each picture, there is no generic size for my pics.

thanx a mill,
animgirl

2:11 am on July 5, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 20, 2002
posts:3732
votes: 0


Are you using CSS to remove margins? I would think you can use your script and get rid of the margins and have it do what you need.
4:38 am on July 5, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 13, 2003
posts:52
votes: 0


Yes I am and the margins are set to 0px...
hmmm
4:52 am on July 5, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 13, 2003
posts:52
votes: 0


It's because I have it linked to a picture file, and not an actual html file with the pic in it :)
aha! thanx a mill guys
animgirl
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members