473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

code to make enlarge image

hi,
I'm using flash button like "zoom in" to enlarge an image from html using javaScript. How can I do this?

ex. I have flash media inserted within html document and once the button inside the flash is pressed viewers can view the enlarged image from their page.

thank you in advance.
Feb 17 '08 #1
4 3516
hsriat
1,654 Expert 1GB
hi,
I'm using flash button like "zoom in" to enlarge an image from html using javaScript. How can I do this?

ex. I have flash media inserted within html document and once the button inside the flash is pressed viewers can view the enlarged image from their page.

thank you in advance.
[html]<img src="image.png" alt="thumb" width='w' onclick="if (this.alt=='thumb') this.width*=10; this.alt='Image';">
<!--w should be 1/10 of the actual image size-->[/html]

Do you want this or something else?
Feb 17 '08 #2
can you see if this is the right code to use for flash and javaScript in html?

FLASH ..

on (press) {
getURL("javascript:OpenMyWindow()")
}

javaScript ..

<SCRIPT language="Javascript">

function OpenMyWindow() {

window.open("abd1lg.html","winName","toolbar=0,scr ollbars=0,location=0,statusbar=0,menubar=0,resizab le=0,width=500,height=660,left = 412,top = 234");

}

</SCRIPT>
Feb 17 '08 #3
hsriat
1,654 Expert 1GB
can you see if this is the right code to use for flash and javaScript in html?

FLASH ..

on (press) {
getURL("javascript:OpenMyWindow()")
}

javaScript ..

<SCRIPT language="Javascript">

function OpenMyWindow() {

window.open("abd1lg.html","winName","toolbar=0,scr ollbars=0,location=0,statusbar=0,menubar=0,resizab le=0,width=500,height=660,left = 412,top = 234");

}

</SCRIPT>
JS part is right., I dunno about the flash part...
Feb 18 '08 #4
I've used the different flash coding to fix the problem, thank you.
Feb 20 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Eraserhead | last post by:
I have a store that I'm building and I want to be able to click on a thumbnail and have a popup window open with the enlargement in it. I have this working right now using this. <script> ...
3
by: Bob Bedford | last post by:
I've 2 directories: one contains thumbnails, the other the images. How to create a dynamic photogallery, as manually it's: <div align="center"> <a...
1
by: chris | last post by:
Hi, I need to add a text or image link which when click on will enlarge the text on a web page to ither large or largest. How can I do this, if its possible. Chris
67
by: Sandy.Pittendrigh | last post by:
Here's a question I don't know the answer to: I have a friend who makes very expensive, hand-made bamboo flyrods. He's widely recognized (in the fishing industry) as one of the 3-5 'best' rod...
3
by: u473 | last post by:
I need to enlarge an Access report from 8 1/2 x 11 to 13 x 19. Is there an easy way to do this rather than repositioning and enlarging each control ? Thank You. Celeste Edwards
4
by: ashasprabhu | last post by:
hai, I have to convert the images size into thumbnail and when the image is clicked the page is redirected and image should be enlarged.I tried to use the height and width property but the image is...
4
by: Agnes | last post by:
MY application is designed based on 800 X600 screen size. However, some client use 1024 X768 , When they run the application, the form become smaller. I don't want to re-wrtie all the forms How...
15
by: mistral | last post by:
I want find code for clickable thumbnails, when click on small picture, a big image will popup in new window, sized to fit picture. Same as standard javascript image previewer, but without using...
3
by: divina11 | last post by:
I'm wanting a html page with a series of thumbnails which are clickable to enlarge the image in a new window, how do you do this? Currently I have the images in the following format. <p> An...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.