Thursday, July 02, 2009

jQuery UI ThemeRollerReady IFRAME in a dialog box

Whilst making preparations for upgrading to uPortal 3.1.x from uPortal 2.5.x I came into contact with jQuery UI themes.

In our previous portal the help screens were displayed using Cody Lindley's ThickBox. At the time I first introduced Thickbox to our portal I thought this was pretty revolutionary, clicking on a link made the background dim and the help text (via an IFRAME) was shown in sharp contrast in the foreground of the page (very Web 2.0!).

The interface for uPortal 3.1 has evolved considerably from 2.5.x. The fluid project have worked on uPortal 3.1 to improve the user experience. jQuery and jQuery UI have become an integral part of the uPortal interface. uPortal 3.1 makes good use of jQuery UI dialog and tab widgets. (Incidentally, when did dialogue become dialog?) As the range of jQuery UI widgetry expands so too will the options for portal improvement, all with a common look and feel and easily themed.

In our new portal I would still like to access the help pages in a Thickbox/IFRAME style. However, the jQuery plugins that provide this kind of functionality (Thickbox and jqModal) do not look like the other jQuery UI widgets and are not themeable via jQuery UI themes. I could probably map the plugin CSS to the jQuery UI theme CSS but this seems like it could be a lot of work. So I have produced my own version of a dialog using an IFRAME.

I am fairly new to jQuery and what I have produced isn't quite up to jQuery plugin standard but if somebody out there wanted to apply some finishes touches to it I would be happy to contribute it back to the jQuery effort. The main difference between my effort and Thickbox and jqModal is that I am only interested in IFRAMEs and my version should be ThemeRollerReady. All being well you should see the themeswitcher below and a click on the link below that should give you a dalog box IFRAME:

jQuery UI IFRAME dialog box example

alternatively you can see it at standalone jQuery UI IFRAME dialog box example.

14 comments:

ismjml said...

What is the license for this, open sourced?



I really like to use this for a community website.



Oh and btw... can you use relative links for this e.g. '/adirectory' instead of the full link 'http://example.com/adirectory' ? And if not... how can i enable it?
Note: Comment imported. Original by Anonymous at 2009-07-16 17:39

ismjml said...

The license for any of the work on my blog is >Creative Commons Attribution 2.0 UK (unless otherwise stated). This means you are free to do whatever you want as long as I am given some credit.





Please use it as you see fit. As far as credit goes a comment on this blog referencing your site would be sufficient for my needs.





I believe an IFRAME can use a relative URL.






Note: Comment imported. Original by markmc website: http://content.mark-mclaren.info/ at 2009-07-17 17:48

Unknown said...

Omega Watches Swiss Watches accept been the dream watch for omega replica those who apperceive a bit about watches. The sole agitation is that not anybody can pay for to acquirement it. The abatement Franck Mueller watches at www.online abundance are of breitling replica the incomparable top superior which accept the ability to endure best at a decidedly bargain rates.The awfully to activate with Omega watch was produced in 1983 and was referred to hublot replica as Tourbillon. Each of the movements aural the Omega watches are developed by Omega alone, and they may be one of its sorts back in the accomplished crafted appearance and actions.Nonetheless, there appear to be a abundant amount of cartier replica additions to the watch anon afterwards it was launched in 1983 about the a lot of cogent 1 would be the abiding agenda & minute repeater. Aural just a abbreviate amount of time Cartier has advised a name for rolex replica abandoned and is been admired as the baton while in the industry. As a aftereffect of its technology and incomparable craftsmanship, Omega watches has been a accepted central the celebrity and appearance collectors. It is aswell admired for its abnormally advised dials and its ultra avant-garde cases.Adding jewels to the acme Omega Speedmaster of louis vuitton replica the Cartier band of watches could be the Casablanca which comes with an automated movement in a stainless animate case. This abnormally advised watch from Switzerland can be beat accidentally or on a dress too, as it fits both scenes actual appropriately and nicely.






5.
The Casablanca accumulating unveils the mysteries of far abroad places and has become the watch for
replica watches your ultimate traveller with its skilfully created designs and adapted curves, altogether advised to the being who has a aftertaste for accustomed simplicity, stylishness, & casualness.Original Omega Casablanca watches accept not been for everybody back of hermes replica its affordability. Having said that, www.online abundance offers appropriate accomplished Cheap Omega Casablanca watches that action something added and acknowledgment to this, about everybody can allow to accept this chic watch.
The humans at www.online abundance ensure that the top superior and body in the watches may be breitling replica the best. You can get a array of options to accept from the Cheap Casablanca Omega watches. Our Casablanca Cartier watches attending like absolute watches, and don attending like replicas, if you louis vuitton replica anytime accept had a bad acquaintance aural the accomplished application the Cheap watches, we assure that affairs the appearance from us would ensure the appearance looks original, and cipher can agnosticism its authenticity. You will consistently get adulation if you abrasion the rolex replica Cheap Casablanca Omega watches purchased from us.we assure that affairs the appearance from us would ensure the appearance looks original, and cipher can agnosticism its authenticity. You will consistently get adulation if you abrasion the Cheap Casablanca Omega watches purchased from us.






madin said...

Welcome to Cheap Ray-Ban Sunglasses uk here. Fake Ray-Ban Sunglasses and many more other brands sunglasses .

madin said...

Choo women’s shoes are adored the world over. cheap jimmy choo uk Boasting a pair for every eventuality – work, repliche Mules weekend, party and black-tie events – these footwear designs are masterfully crafted with impeccable comfort and attention to detail at the heart. Team your new shoes with Jimmy Choo sunglasses and the latest in designer womenswear.

madin said...

Another Michele hit,Replica handbags the more structured Sylvie replica Gucci bags presents Gucci’s saddle-inspired red and green racing stripes – a house signature since the 1950s – in a fresh new light. Smooth leather and chunky hardware lends contemporary appeal to this instantly iconic Gucci bag.

madin said...

cheap Soccer Jerseys is the best soccer jerseys wholesale supplier.cheap tammy abraham Jerseys Buy the cheap soccer jerseys, soccer shirts, soccer kits, training kits with wholesale price.

madin said...

Alexander McQueen propose une série [url=https://www.mcqueenfr.com/]réplique de alexander mcqueen[/url] de vêtements pour hommes et femmes avec un style quotidien supérieur,[url=https://www.mcqueenfr.com/online/homme/]pas cher homme alexander mcqueen[/url] sur mesure avec une riche mode gothique pour créer des traditions et des articles riches. Tous les critiques ont recherché des accessoires dramatiques, tels que le cuir et les motifs de cha?nes et de cranes.

madin said...

La performance d'Alexander McQueen est connue pour sa puissance émotionnelle, pas cher alexander mcqueen son pas cher enfant alexander mcqueenénergie primitive et sa nature contemporaine romantique mais déterminée. Un élément essentiel de la culture de McQueen est la juxtaposition d'éléments contrastés: pas cher enfant alexander mcqueen vulnérabilité et force, tradition et modernité, fluidité et sérieux. En respectant la tradition de l'artisanat, une vision ouverte et même passionnée s'est réalisée. La collection McQueen combine une compréhension approfondie de la couture personnalisée britannique, un superbe savoir-faire et un savoir-faire impeccable fabriqué en Italie.

madin said...

International Watch Company, or IWC, was first introduced to the world in 1868 when an American Engineer,replica watches sale Florentine Ariosto Jones, decided to open his own factory in Switzerland. replica IWC watches has earned its reputation as one of the world's finest manufacturers of Swiss luxury watches. IWC only manufactures automatic and manual timepieces which include features such as the chronograph and GMT dual time zone. IWC has definitely made its mark in the world of watches with its dedication to excellence in form and function. Using a range of supplies a large selection of IWC watches at the best sale prices online so buy yours today!

madin said...

Rolex offers a wide range of models ranging from professional to classic watches to suit any wrist.replica watches UK Explore the Rolex collection by selecting your favourite models, materials, bezels, cheap replica rolex watchesdials and bracelets to find the watch that was made for you.

madin said...

Montblanc MeisterstückClassique black ballpoint pen with gold accessories replica mont blanc uk is one of the most famous Montblanc fountain pens replica mont blanc donation pens and is considered one of the writing instruments. The design icon has a white snow cap insignia and has its own personal serial number, which means that the pen you own will be unique. Montblanc ballpoint pens are a must-have Montblanc ballpoint pens, popular with gift buyers, corporate customers and serious pen collectors. The smoothness of the ballpoint pen mechanism makes writing luxurious and enjoyable.

madin said...

No name in the watch industry can be compared with Rolex's status. Literally, Rolex is synonymous with quality, and the household name goes beyond the uk replica rolex watchmaking industry. It is both an impeccable fake lady datejust watchesleading manufacturer of segmented products and a model of international popular culture.

madin said...

Created in 1993, Christian Louboutin’s signature red-bottom heels remain the replica louboutin shoes fashion world’s most stylish stilettos. Level up your shoe collection for less with unbeatable Christian Louboutin sales, replica women louboutin evening where you’ll find alluring Louboutin heels and unique Louboutin shoes in your perfect size.