开发者

Email to Site Div

I have 8 emails being sent out and 1 webpage where they are linked to from the email.

If 1 email is about a particular subject I would like the link to go to the webpage and show a DIV on the subject out of the 8 choices.

I presume this is ja开发者_如何学Pythonvascript and if so how, and are there any scripts out there I can use?

I hope this makes sense, but I'm happy to clarify. I think I need javascript to read the id GET variable

Thanks


You have 8 emails sent out that link to the same website?

Have the emails link to a URL with an ID appended as a GET variable:

Email 1 link: http://yousite.com/email.html?id=1
Email 2 link: http://yousite.com/email.html?id=2
Email 3 link: http://yousite.com/email.html?id=3
              ...

Then you can use server-side scripting or JavaScript to read the id GET variable.


Despite @Greg's approach being usefull, I would use anchors for that matter, like :

http://yousite.com/email.html#option1
http://yousite.com/email.html#option2
http://yousite.com/email.html#option3
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜