Search This Blog

Sunday, August 13, 2017

Zoom in on Click and Zoom out on Another Click in Oracle Apex 5 using JavaScript

Steps :

1. Copy the code to your page HTML HEADER

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function()
{
$("#image").css("width", "800px");
$("#image").toggle(function()
{
$(this).animate({width: "100%"}, 1000);
$('p').text("Click To Zoom Out");

}, function(){
$(this).animate({width: "800px"}, 1000);
$('p').text("Click To Zoom In");
});
});
</script>

1. Put this  id="image"   in your photo retrieving SQL Query 

Then try it.


No comments:

Post a Comment

Check Difference Between Two Database Objects

Step-1. Create Two DBLINK to connect with Two Database then Step-2. define logindb= DBLINKONE define remotedb= DBLINKTWO define schema_name=...