Guardian
Site Admin


Joined: Jan 06, 2006
Posts: 3779
Location: Poland
|
Posted:
Tue Apr 15, 2008 11:28 am
|
|
No this is not a thread about the so called Web 2.0 style but as part of my University course I'm doing, it requires a knowledge and use of javascript.
I have been looking around at a variety of js and ajax scripts, the two most predominant ones are the jQuery and mooTools frameworks.
Both of these seem to offer Web 2 like capabilities for presentation of data.
I was particularly struck by the nice affect afforded by moodalbox which is a class extender script for the mooTools ajax framework.
You can see a demo of this effect by clicking any of the page links on this sites tutorial module (links are only modified at the page link level not the categroy level) when I get it finished.
Basically, the data is opened in a modal window - the data frame opens on top of the existing page.
Unfortunately, most links internal to nuke also call a header, footer and usually blocks so I had to modify the function to remove the header, footer etc in the modal window. If you are creating a nice, neat little modal window just to display specific data, like a tutorial page, you don't really want all the encumbent crap that goes with it.
This had kinda got me to thinking just how wasteful nuke really is at times and of course, with a modal window, you have no worries about someone trying to copy/paste your tutorial or other content because it is simply impossible.
Edit: There is NO content theft protection - I was working on the fact that with a semi-modal window you cannot click inside it and 'copy' but you can still view source etc so if conten theft is what you are after, this is not the answer. Thanks montego for pointing out what should have been obvious to me.
I have not figured out yet how to make the category list page 'modal' as once you are in 'modal' mode, so to speak, you have no header so therefore no call to the js file which is in the header.
I may play with it some more if time allows, this is just really something to do as a bit of relaxation from my coursework. |
_________________ Nuke Reviews |
|