开发者

DOM window wont work

开发者 https://www.devze.com 2023-03-18 10:50 出处:网络
Im using DOM window ( http://swip.codylindley.com/DOMWindowDemo.html ) to create alerts.However the content that goes in the windows is under the id inline content.

Im using DOM window ( http://swip.codylindley.com/DOMWindowDemo.html ) to create alerts. However the content that goes in the windows is under the id inline content.

However the js file doesnt do anything with开发者_StackOverflow this id and the content inside isn't showing up.

Is there a css file im missing because the window appears but with nothing in it?

p.s. I'm using example one


Unless you absolutely need to use this DOM Window plugin, I'd recommend just using simple javascript or jquery commands to achieve this rather simple task.

But anyways, since you're using example one, you need to make sure that the href on the a tag that you use for your Open DOMWindow function is pointing to the div that houses the content.

0

精彩评论

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

关注公众号