<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。帮助?
- 在这里找到了类似的问题,但也没有答案。