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.

22 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.

madin said...

The Royal Oak was a groundbreaking model both for the replica AUDEMARS PIGUET watches brand and the watch industry as whole. The replica watches UK model’s strikingly unconventional design, with a hexagonal bezel, exposed screws, and integrated bracelet, turned the world of luxury watch design upside down. Although its unique, bold, and unusual design was polarizing at first, the Royal Oak was ultimately a hit. In fact, the Royal Oak has become Audemars Piguet’s flagship model.

madin said...

Louis Vuitton himself was born the son of a miller in 1821 in Anchay, a hamlet in the Jura Mountains, not far from the Swiss border. Replica bagsThe region was a poor one - serfdom had only been abolished less than 40 years previously, so Louis left to seek his fortune when he was a teenager, arriving in the French capital aged 16. This was the Paris of Victor Hugo's Les Misérables, with nearly one million inhabitants. As the composer Chopin said in a letter to a friend at the time, "Here you find the greatest luxury and the greatest filth, the greatest virtue and the greatest vice."replica Louis Vuiton bags

madin said...

cheap cartier watches uk boast a large variety of design and functionality, yet maintain the utmost quality replica calibre de cartier carbon diver watches and sophistication in every series. Crafted from the finest steel, rose gold, yellow gold, and white gold, and utlizing the highest grade of diamonds worthy of the Cartier name, Cartier has dominated the industry of elegant watches. Mens and ladies watches alike are assured attention to detail internally and externally, and the namesake itself is a milestone in the world for which the standard of reputation alone is reminiscent of the product.

madin said...

nike air max scarpe Acquista scarpe Nike da uomo su replichenk.com. repliche air huarache Ottieni le ultime sneaker Nike da uomo in una gamma di colori e dimensioni. trovi un prezzo più basso su uomini e donne Nike.

madin said...

At Rolex, we believe in maintaining a long-term commitment to outstanding individuals,fake rolex watches organizations, fake pearlmaster watches events and institutions in the fields of adventure, sports, arts and culture, science and education.

madin said...

A complete selection of all replica Ray-Ban Sunglasses styles is available online. Browse between new or classic frames,replica Ray-Ban Sunglasses aviator lenses and colors to find shades that match your style. With the iconic Ray-Ban model, you can find a complete selection of women's sunglasses and men's designer sunglasses. Shop now at the official online store and get free shipping on all orders.

madin said...

replica mont blanc uk is a brand with a long history. Founded in 1906, the replica mont blanc donation penscompany is named after one of the highest mountains in Europe, marking the brand's commitment to producing fine writing instruments. Using the brand that produces the best writing instruments, it helps to know how to find the Montblanc fountain pen that works best for you. From the best Montblanc fountain pens to ballpoint and ballpoint pens, you have a choice. Whether you are a collector or a keen writer, this article will take you to the top 10 Montblanc fountain pens on the market.

madin said...

Welcome to Soccer Shop - The Best Wholesale cheap Soccer Jerseys on the Internet. cheap willian JerseysWe specialise in the best quality and cheap soccer jerseys.