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

Restrict File Upload by File Type in Oracle Apex

If you want to restrict file upload by file type/extension/format you can follow the below steps.  Goto File Browser Item --> Advanced --...