google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

Target anchor link attached to url #163

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a link as such
<a href="form_help_popups.cfm#helpstep1" target="_blank">test</a>

What is the expected output? What do you see instead?
 expect page to load and move to appropriate anchor

What version of the product are you using? On what operating system?
 1.4.1

Original issue reported on code.google.com by sonicDivx@gmail.com on 12 Feb 2009 at 6:19

GoogleCodeExporter commented 9 years ago
nyroModal is designed to filter the content (#helpstep1) and show only it.
For now you could simple remove the #helpstep1 from your link and use the
endShowContent callback to place the content scroll where you want.

Would it be usefull for you to have the ability to choose between filter mode or
going to the right place?

Original comment by nyro...@gmail.com on 12 Feb 2009 at 9:37

GoogleCodeExporter commented 9 years ago
I just looked again at your examples and noticed that filter you used <div 
id="">
where I am using <ul><li><a name=""> .  The main reason I am using <li> is 
because I
need the popup to behave normally if javascript is turned off. This is to help 
with
accessibility.

So yes the option to choose would be great. In the mean time I'll wrap my <a> 
tags in
divs with ids and try the filter method. 

Original comment by sonicDivx@gmail.com on 13 Feb 2009 at 4:04

GoogleCodeExporter commented 9 years ago
ok, I'll work on it for the next release.

Original comment by nyro...@gmail.com on 13 Feb 2009 at 11:43

GoogleCodeExporter commented 9 years ago
Thanks

Original comment by sonicDivx@gmail.com on 13 Feb 2009 at 12:12