Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (19 June 2013 - 02:28 PM) Long Life To Asta New Era
@  agyat : (19 June 2013 - 01:58 PM) New Era Start At Asta Or Asta Start In New Era. :unsure:
@  yordan : (16 June 2013 - 05:41 PM) You're Welcome, Agyat!
@  agyat : (16 June 2013 - 07:38 AM) Thanks Yordan...
@  velma : (16 June 2013 - 12:06 AM) I Have Asked Opa To Check For A Backup.. He'll Let Me Know Soon :)
@  velma : (16 June 2013 - 12:05 AM) T_T It Seems That Someone Has Deleted That Topic Since I Found The Url Of The Topic But It Gives Me An Error
@  yordan : (15 June 2013 - 10:31 PM) @velma : It's A Tuto On How To Create A Login Program.
@  yordan : (15 June 2013 - 10:31 PM) Happy Birthday To Youuuuuu Agyat!
@  yordan : (15 June 2013 - 10:31 PM) Ba$
@  agyat : (15 June 2013 - 04:41 PM) :(
@  agyat : (15 June 2013 - 04:41 PM) Where The Hall I Were? 15Th Is Almost At End And No-One Wished Me "happy Birthday"!!!
@  velma : (14 June 2013 - 10:39 AM) Which Tutorial Is He Searching For?
@  velma : (14 June 2013 - 10:38 AM) Which Tutorial Is He Searching For?
@  yordan : (14 June 2013 - 07:47 AM) Ok, Have A Look Tomorrow.
@  yordan : (13 June 2013 - 03:19 PM) @velma, Can You Have A Look At Feelay's Problem? Seems That His Tutorial Is Not Searchable Today.
@  Feelay : (13 June 2013 - 08:11 AM) Oh, Haha
@  velma : (12 June 2013 - 05:39 PM) T_T Lately My Levels Of Procrastination..... **sigh**
@  velma : (12 June 2013 - 05:38 PM) I'll Do It Later
@  velma : (12 June 2013 - 05:38 PM) Procrastinators.. People Who Keep Saying "i'll Do This In A Bit"
@  Feelay : (12 June 2013 - 02:05 PM) Deal Punishments To What?

Replying to Enlarge Image Script


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

Posted 18 May 2010 - 03:17 PM

<body>. I have put in red what my image name is this took me awhile to figure out where to put what (smile). DONNA<head><script type="text/javascript"><!-- This script and many more are available free online at --><!-- The JavaScript Source!! http://javascript.Internet.Com --><!-- Created by: Joshua Bollman : http://www.Freewebs....navysealsfreak/ --><!-- BeginFunction SwapImage1() {  document.Image1.Src="images/35345.Jpg"}Function SwapImage1Back() {  document.Image1.Src="images/35345_small.Jpg"}// End --></script><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div align="center"><img src="images/35345_small.Jpg" name="image1" border="0" onMouseOver="SwapImage1()" onMouseOut="SwapImage1Back()"></div></body> 


Posted 06 December 2009 - 01:38 PM

dont understand??..Enlarge Image Script

alright mate just wondering you could giudeline me ... I have every code I need and I have made most of them... but it is just scripting this image... I have the code off you on what to use... But I type that in and then put the file name in the places needed ... But I don't no what I am ment to be placing in the "yourimage.Jpg" are you meant to use the title of the image file?? because when I view the code in firfox it just wont work write back please many thankss :)

-reply by Alex Finney

Posted 02 October 2009 - 07:53 AM

Enlarge image in new window on same pageEnlarge Image Script

Can anyone help me with simple html code (no css or java) that allows me to click on an image and then a new image opens in a small window with the same page in the background? ie, not in a new browser?


Posted 21 May 2009 - 07:29 AM

Browse, enlarge onMouseMovementEnlarge Image Script

I want to browse through my computer or any where, retrieve a picture into a thumb nail and then

move the mouse on it or click it to enlarge that picture. Does any one have a simple code either in VScript  or JScript.  I appreciate any help

-reply by samy youssef

Posted 15 February 2009 - 07:41 AM

script to enlarge image in new windowEnlarge Image Script

Hi there, this code is great

Have you tried onMouseOver and onMouseOut  ?

No need to click :)

Also keep the image quality, by uploading larger size image and displaying smaller size then onMouseOver show original (large) size.

Thanks Guys for the interesting read

-reply by Robert Prins

 


Posted 21 January 2008 - 12:17 PM

Enlarge Image script
Enlarge Image Script

Replying to Feedbacker

Another useful tip is you can do incremental zooming by altering the code slightly ...

<img src="yourimage.Jpg" width="150" height="200" onclick="this.Src='yourimage.Jpg';this.Height=this.Height+100;this.Width=this.Width+100" ondblclick="this.Src=yourimage.Jpg';this.Height=200;this.Width=150">


-Bruv

TavoxPeru

Posted 17 January 2008 - 12:03 AM

Enlarge Image Script

Enlarge Image Script
Hi,

I found why your code is not working, you miss a ' on the second src

<img src="yourimage.Jpg" width="150" height="200" onclick="this.Src='yourimage.Jpg';this.Height=400;this.Width=300" ondblclick="this.Src=yourimage.Jpg';this.Height=200;this.Width=150">

Many thanks

A

-Alex

Oopps, thanks a lot, i gonna edit the code right now.

Best regards,

Posted 08 January 2008 - 04:55 PM

Enlarge Image Script
Enlarge Image Script

Hi,

I found why your code is not working, you miss a ' on the second src

<img src="yourimage.Jpg" width="150" height="200" onclick="this.Src='yourimage.Jpg';this.Height=400;this.Width=300" ondblclick="this.Src=yourimage.Jpg';this.Height=200;this.Width=150">

Many thanks

A

-Alex

Posted 08 January 2008 - 04:51 PM

Enlarge Image Script
Enlarge Image Script

Hi,
I have been implementing the same type of code to enlarge a picture.
My problem is that the second action is not taken onto account, only the first. In your example, the onclick will work and the ondblclick will not...

Do you have any idea why is that?

Many thanks
A

-Alex

TavoxPeru

Posted 08 December 2007 - 10:07 AM

Yeah, it can be done with CSS, even though the technique is a bit different then in the first post, take this example:

http://www.yo.com.mx...lover/roll.html - it is css only as I understand.

if you just change the width and height, you'll get a bigger picture or a smaller, depends on the dimensions you chosen ;]

Yes, this technique is different than the first post i made, but it is interesting also, i just test it and works fine with Internet Explorer 6 and Firefox 2.

One thing i like of that this technique is that it is very small comparing with the Hoverbox technique posted before.

Best regards,

Review the complete topic (launches new window)