The coding which you referenced at http://pastebin.ca/1963013 is fine but
it is for when we use the same size image for small(when body loads) and
enlarge (on clicking).But My problem is more than it.
i want to add 2 copies of the same image
i.e thumnail and full resolution image.The concept would be as , when the
page would be loaded thumnail will be shown,but on clicking on it,the full
resolution image of the thumnail would be display,and again click at full
res. the thumnail would be shown and so on.
So please help me ,what changes should be made in the previous(
http://pastebin.ca/1963013) code.?
Thanks for reply
On Fri, Oct 15, 2010 at 9:20 AM, pikpik <[email protected]> wrote:
> Hi,
>
> On Oct 14, 8:50 am, amritpal pathak <[email protected]> wrote:
> > i have the 2 files 1)html
> > 2).js file
> > i have done ,when someone click the image it gets enlarged and when
> he/she
> > again click it gets small..but i could do it with the same image ..i am
> > attaching these two files
> > but i want "click at thumnail" and get the full images .Help me in
> coding.
> >
> > please somebody help
> > Thanks in advance
>
>
> I think that this discussion board is for the V8 JavaScript Engine
> specifically. Because V8 is only for JavaScript (that I know of),
> discussing HTML and DOM scripting is technically very far off topic. A
> place that might work better for help with Web programming (rather
> than V8-specific things) would include Stack Overflow:
> http://stackoverflow.com/
>
> That said, I've played with the files you posted and have gotten them
> to work (image not included, obviously). :)
>
> For the images, just use the relative or absolute paths to the files
> with the actual names (if it's named "blah.jpeg" then use
> "blah.jpeg").
>
> If linking the images or JavaScript file to the page is an issue, then
> instead of putting one file on your desktop and one in your Web
> server's directory, it would be easier to just put them both in the
> same folder.
>
> The working HTML and JavaScript files (combined into one text note;
> you'll have to separate them) are available (for a month) at:
> http://pastebin.ca/1963013
>
> I hope this helps,
> pikpik
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users