Hi Vikash,<div><br></div><div>Like I said in my response to you, I don&#39;t know enough about it to be able to propose anything functional beyond the work-around I proposed. However, a little googling leads me to believe that you could probably modify the onFeatureSelect command with the redirect, but I don&#39;t know enough about it but maybe something like calling the window.location function with a link to the page you want to redirec them to...</div>
<div><br></div><div><div>function onFeatureSelect(evt) {</div><div>            selectedFeature = evt.feature;</div><div>// this is where you&#39;ll have to figure it out but something like </div><div>evt.feature.click = window.location = #href to your page</div>
<div><br></div><div>This is not the correct syntax, but I think this will point you in the right direction.  </div><div><a href="http://www.tizag.com/javascriptT/javascriptredirect.php">http://www.tizag.com/javascriptT/javascriptredirect.php</a> is useful</div>
<br><div class="gmail_quote">On Sat, Jun 4, 2011 at 4:46 PM, Vikash Talanki <span dir="ltr">&lt;<a href="mailto:vikashtalanki@gmail.com">vikashtalanki@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Nizzok,<br>
<br>
 Thanks for the reply but as you said &quot;You could then have the href embedded<br>
in a popup&quot;...... but i want to be redirected to a web page instead of<br>
getting the popup<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Clicking-on-a-polygon-opening-a-page-link-tp6440300p6440336.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Clicking-on-a-polygon-opening-a-page-link-tp6440300p6440336.html</a><br>

</font><div><div></div><div class="h5">Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</div></div></blockquote></div><br></div>