PhotoSHOPadob
New Member
In my app I'm having a large number of divs (let's call them nodes) with text inside. Except text any node can have attached documents (pdf,docx,doc,odt), images (jpg,gif,png,svg), videos (specified as link e.g. to youtube in model) and iframes (specified as link in model). Attached stuff is shown as icon near the text. When a user clicks on the icon I want content to appear in a separate dialog (like images do in the lightbox or slimbox libs).So here are my questions:[*]Is there a simple solution for my problem. I mean a library like slimbox, where I can specify content (an url to image, or an url of video, or an url of Iframe and etc) and get a dialog with content after that? Or to have a general solution for all types of content I need to implement it with my own hands (e.g. with jQuery UI \[code\]dialog\[/code\] function)?[*]Is there a way to show somehow content of pdf (docx,doc,odt ...) in web app by means of browser? Or there's no other way then to convert it to image or HTML on server? Thank you in advance!