Welcome to WebmasterWorld Guest from 23.23.46.20

Forum Moderators: open

Javascript pop-up window that automatically fits?

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

10+ Year Member



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 Jul 5, 2003 (gmt 0)

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



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 Jul 5, 2003 (gmt 0)

10+ Year Member



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

10+ Year Member



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
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month