4
<a href="page.html?iframe=true&width=700&height=100%&myVar=text" rel="prettyPhoto">Click Me</a>
在js脚本:jQuery prettyPhoto:如何传递额外的GET参数?
$('a[rel*=prettyPhoto]').prettyPhoto({
keyboard_shortcuts: false,
social_tools: false,
deeplinking: false
});
而在page.html中我无法访问myVar的。帮帮我?
- 找到了相似的问题here,但它没有被回答。