By default Urchin 5 seems to want to open reports in a new window. This can be a little annoying. To change this, we just need to update the javascript function that gets run when you click on the "View Report" link.
You should see the following code:
2
3mywin.location.href = url;
4mywin.focus();
We're going to comment it out and add our own code:
2
3//mywin.location.href = url;
4
5//mywin.focus();
6
7window.location.href=url;
After clearing our cache, the reports open in the same window.
#1 by dungeon fighter gold on 11/8/09 - 10:22 PM
#2 by r4cardsohot on 7/15/10 - 1:39 AM
#3 by dasd on 10/29/10 - 11:52 PM
#4 by dsfsd on 10/29/10 - 11:55 PM
#5 by hvhbhbh on 11/4/10 - 6:18 AM
#6 by bcvxv111 on 11/9/10 - 11:50 PM
#7 by Oakland athletics hats on 5/26/11 - 7:49 AM
#8 by www.sunglassesblack.net on 7/9/11 - 12:42 AM
http://www.sunglassesblack.net]sunglasses 2011
http://www.sunglassesblack.net]Oakleys Sunglasses
http://www.sunglassesblack.net]Oakleys Sunglasses Outlet
http://www.sunglassesblack.net]top sunglasses
#9 by www.mlb-2011.com on 7/9/11 - 12:43 AM
http://www.mlb-2011.com]mlb jerseys
http://www.mlb-2011.com]cheap mlb jerseys
http://www.mlb-2011.com]mlb shop
http://www.mlb-2011.com]mlb baseball