Skip to main content
Frank Tudor's user avatar
Frank Tudor's user avatar
Frank Tudor's user avatar
Frank Tudor
  • Member for 10 years, 9 months
  • Last seen more than 6 years ago
asked
Loading…
revised
Loading…
revised
Interupt redirect to catch potential newsletter signup
added my result from code review.
Loading…
awarded
comment
Interupt redirect to catch potential newsletter signup
I'm talking about that .live() function...
comment
Interupt redirect to catch potential newsletter signup
I am trying to make this content specific, so as you said anything could be a target. I don't want to affect the site logo that links back to the home page that would be stupid, so thanks for pointing that out. It will have to have an id or class attachment. I am using this with 1.11 jQuery. It worked in jsfiddle. Maybe not removed? maybe depreciated? I'll need to figure out how to do this a different way. Thanks for pointing that out.
comment
Interupt redirect to catch potential newsletter signup
On the second point. I was under deadline to get something and I was a frenzied mess. When I first started this I didn't even know what modal was so my searches were fruitless and like I mentioned to the first poster, when I did find a few examples, I tried to adapt then to my code and none worked for me. So I coded this up in about three hours to get business folks off my back :)
comment
Interupt redirect to catch potential newsletter signup
on your first comment I actually have what you describe in production I removed it here to simplify what I was doing and it looks like it bit me :)
comment
Interupt redirect to catch potential newsletter signup
Very good feedback and this gets me thinking beyond my simple drop it. I don't have many websites that use this code but more now than before and no other modal example was simple that met my needs hence this project. I never thought about making it trojan-style but that is exactly what I will aim for. Thank you for the response!
Loading…
revised
Father-son project: Drawing on a grid
added 11 characters in body
Loading…
comment
Father-son project: Drawing on a grid
Hey thanks! I will look into those. Lo-Dash looks interesting. I have heard of _Underscore.js but I have not used either. I will make a list of these tool-kits you suggest and start looking at how I can leverage them.
awarded
revised
Loading…
revised
Loading…
revised
Dictionary brute force on DES encrypted passwords
Changed readability and headline.
Loading…
revised
Father-son project: Drawing on a grid
made readability changes.
Loading…
asked
Loading…
awarded