I'm trying to link to a named anchor in Shadowbox iframe. Not having any success. The box opens blank if I use a link like "page.aspx#namedLocation". If I just use "page.aspx" the page loads in the box but of course not where I would like it to.
Here is my init:
</script> Any help would be much appreciated.
If anyone has an answer to this for just using a link like "page.aspx#namedLocation" please reply.
I just wrote some code to respond to a query string as a work around. Shadoxbox doesn't seem to mind a link like "page.aspx?var=something" and I just created a page to redirect to the page I want to show in the box with some code behind in the page load event like:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Request.QueryString("var") = "something1" Then
ElseIf Request.QueryString("var") = "something2" Then