Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Ajax Programming

AJAX for a Snapshot of the webpage before visiting


Hi

I wish to design a Gallery page where in i have a lot of links to
other websites

Once i hover on the link of that website i wish to show a snapshot of
that Website before the user clicks on the link and visits the
website.

This way he doesn't have to visit any website which may not be
appealing to him

Any help is appriciated

Regards
Sri
www.wsri.co.uk

hi..

    i hope ur ideas..here,i sent some simple sample code in
javascript as u think..i hope it's useful for u....

   <body>
    <form id="form1" runat="server">
        <div id="div1" onmouseover="call1()" onmouseout="call2()"
style="z-index: 100; left: 50px; width: 74px; position: absolute; top:
51px;
            height: 16px">
            HyperLink</div>
        <div id="div2" style="z-index: 101; visibility:hidden; left:
126px; width: 155px; position: absolute; top: 53px;
            height: 153px">
            <img src="air.jpg" style="z-index: 100; left: 0px; width:
151px; position: absolute; top: 0px;
                height: 149px" />
        </div>
    </form>
</body>
</html>
<script>

 function call1()
 {
  document.getElementById('div1').style.color="blue";
  document.getElementById('div2').style.visibility="visible";
 }
 function call2()
 {
  document.getElementById('div1').style.color="black";
  document.getElementById('div2').style.visibility="hidden";
 }
</script>

in this code i called image from local system..better u'll call from
database..ok..try it..

Regards
sam

On Apr 24, 10:01 pm, sri <s@dchmail.com> wrote:

> Once i hover on the link of that website i wish to show a snapshot of
> that Website before the user clicks on the link and visits the
> website.

You mean like this: http://www.snap.com/about/shots.php

-RYAN

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc