SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

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 Dev Shed Forums Sponsor:
  #1  
Old August 17th, 2000, 10:27 AM
modemmike modemmike is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Toledo, OH
Posts: 1 modemmike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to modemmike

I currently have a popup window to display an image which is supplied via a URL. The URL is supplied by users of my message board.

I would like to have a window popup with dimesions just a wee bit bigger than the image itself.

Basically have JS first find the image get its size in pixels and return that variable to the popup window size attribute.

Is there any functions or routines that can retrieve and write an image size (width = "" hieght = "")to a varaible/string ? I think from there I could taylor my code to achieve my goal.

Thanks for any help !

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Adjusting HTML w/JS from an IMAGE Size


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 5 hosted by Hostway