【发布时间】:2011-11-19 19:16:24
【问题描述】:
<a href="page.html?iframe=true&width=700&height=100%&myVar=text" rel="prettyPhoto">Click Me</a>
在js脚本中:
$('a[rel*=prettyPhoto]').prettyPhoto({
keyboard_shortcuts: false,
social_tools: false,
deeplinking: false
});
在 page.html 中我无法访问 myVar。帮忙?
- 找到了类似的问题here,但也没有答案。
【问题讨论】:
标签: javascript jquery prettyphoto