Problem in zooming using URL re-writter in .net

Posted by Gg under Regular Expressions on 1/20/2011 | Points: 10 | Views : 1836 | Status : [Member] | Replies : 5
Hi,

I am using zooming concept in my project. I got the zooming javascript from the URL : http://www.mind-projects.it/projects/jqzoom/demos.php#demo3 .

What my problem is

When my URL is like that http://localhost:1888/projname/Default.aspx?u=in , the zooming option is working properly.

When my URL is like that http://localhost:1888/projname/in/Default.aspx, the zooming option is not working, it showing error "object doesn't support this property or method" line : <a href="big.jpg" class="jqzoom" >

How to solve this?

Here below is my code :

<script type="text/javascript" src="Javascript/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="Javascript/jqzoom.pack.1.0.1.js"></script>
<link rel="stylesheet" type="text/css" href="App_Themes/Playgoose/css/jqzoom.css" media="all" />
<style type="text/css">
div.notes{
font-size:12px;
}
div.notes a{
color:#990000;
}

</style>
<script type="text/javascript">
$(function () {
var options =
{
zoomWidth: 250,
zoomHeight: 250
}
$(".jqzoom").jqzoom(options);

});
</script>

<div id="content" style="margin-top:200px;margin-left:100px;">
<a href="big.jpg" class="jqzoom" >
<asp:Image ID="Image1" ImageUrl="~/Small.jpg" runat="server" />
</a><br>
</div>

Thanks,
GeeGee




Responses

Posted by: Prabhakar on: 1/20/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Gg

i think u type url wrong way . You write url like this type

http://localhost:1888/projname/Default.aspx

Thanks & regard's
Prabhakar

Best Regard's
Prabhakar

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gg on: 1/20/2011 [Member] Starter | Points: 25

Up
0
Down
Mr. Prabhkakar,

Here I am implementing the re-writte URL concept.

So, I am giving URL like this
http://localhost:1888/projname/in/Default.aspx

Thanks,
GG.

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gg on: 1/20/2011 [Member] Starter | Points: 25

Up
0
Down
Mr. Prabhkakar,

Here I am implementing the re-writte URL concept.

So, I am giving URL like this
http://localhost:1888/projname/in/Default.aspx

Thanks,
GG.

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 1/20/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi GG,

ok i am understand .. check it out now & say after some time

Thanks & regard's
Prabhakar

Best Regard's
Prabhakar

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/21/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Check these link... hope it will be useful for u

http://www.codeproject.com/KB/aspnet/zoom_textbox_aspnet.aspx

http://www.codeproject.com/KB/web-image/ASPImaging1.aspx

http://forums.asp.net/p/1598343/4058891.aspx

Thanks
Karthik
www.f5Debug.net

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response