• ARCHIVES 
  • » just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

Pages: 123

just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application. Supported images, flash, multimedia, html and ajax page. Shadowbox is cross-adapter, means it was built with support to different javascript framework to run with such as: Yahoo! User Interface Library, Ext (standalone), Prototype + Scriptaculous, jQuery, MooTools. just download this files :thumbsdown: [url=http://h1.ripway.com/theusedBert/tax/shadowbox.css]Shadowbox.css[/url] [url=http://h1.ripway.com/theusedBert/tax/shadowbox.js]Shadowbox.js w/ mootoolsAdapter.js[/url] then paste this on your js extension :thumbsdown: [quote]Asset.css('[b]Shadowbox.css link here[/b]'); window.addEvent('domready', function() { document.getElements('img', 'html', 'iframe', 'qt', 'swf').each(function(e){e.getParent().rel='Shadowbox';e.getParent().href=e.src}); Asset.javascript('[b]Shadowbo.js w/ mootoolsAdapter.js link here[/b]'); }); window.addEvent('domready', function() {onPageLoad()}); window.onload = function(){ Shadowbox.init(); };[/quote] [b]note[/b] :arrow: it will trigger any images, like [b]friends[/b], [b]groups[/b], [b]fan of[/b], [b]photo gallery[/b], [b]comments, post comments[/b] etc. :cool: heres some ex. of plain html code :penguin: for [b]Youtube[/b] :thumbsdown: [spoiler]<a rel="shadowbox;width=405;height=340" class="option" title="[b]Title Here[/b]" href="[b]Youtube link here[/b]&autoplay=1">[b]Title Here[/b]</a>[/spoiler] for [b]swf[/b] :thumbsdown: [spoiler]<a rel="shadowbox;width=400;height=300" class="option" title="[b]Title Here[/b]" href="[b]swf link here[/b]">[b]Name Here[/b]</a>[/spoiler] for [b]qt[/b] or [b]QuickTime[/b] :thumbsdown: [spoiler]<a rel="shadowbox;width=292;height=218" class="option" title="[b]Title Here[/b]" href="[b]mov link here[/b]">[b]Name Here[/b]</a>[/spoiler] for [b]image[/b], [b]html[/b], [b]php[/b], [b]htm[/b] or [b]any link[/b] :thumbsdown: [spoiler]<a rel="shadowbox" class="option" title="[b]Title Here[/b]" href="[b]any link here[/b]">[b]Name Here[/b]</a>[/spoiler] :arrow: modify on the codes (for eg. using it as addbox, controlpanel buttons etc.) don't forget to change :arrow: [b]"[/b] into :arrow: [b]\"[/b] :cool: [b]note[/b] :arrow: You can combined those codes if you want =) you can also change the :arrow: [b]Name Here[/b] into image like thumbnail :cool: for eg. :thumbsdown: [quote]<img src="[b]image Link Here[/b]">[/quote] don't forget to change :arrow: [b]"[/b] into :arrow: [b]\"[/b] :cool: for slide gallery, just refer to my code :thumbsdown: [spoiler]window.addEvent('domready', function() { var tax="<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://mjijackson.com/shadowbox/gallery/aston_martin/vantage.jpg[/b]\" title=\"[b]Vantage[/b]\"><img src=\"[b]http://mjijackson.com/shadowbox/gallery/aston_martin/vantage.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://www.mjijackson.com/shadowbox/gallery/aston_martin/vanquish.jpg[/b]\" title=\"[b]vanquish[/b]\"><img src=\"[b]http://mjijackson.com/shadowbox/gallery/aston_martin/vanquish.jpg[/b]\" width=\"87px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://mjijackson.com/shadowbox/gallery/aston_martin/db9.jpg[/b]\" title=\"[b]Db9[/b]\"><img src=\"[b]http://mjijackson.com/shadowbox/gallery/aston_martin/db9.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://i233.photobucket.com/albums/ee20/dhenn8/cars/bugatti-veyron.jpg[/b]\" title=\"[b]Red Bugatti Veyron[/b]\"><img src=\"[b]http://i233.photobucket.com/albums/ee20/dhenn8/cars/bugatti-veyron.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://i293.photobucket.com/albums/mm57/edwardryoung/veyron.jpg[/b]\" title=\"[b]Blue Bugatti Veyron[/b]\"><img src=\"[b]http://i293.photobucket.com/albums/mm57/edwardryoung/veyron.jpg[/b]\" width=\"87px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://i46.photobucket.com/albums/f136/popiwopi/IMG_0001.jpg[/b]\" title=\"Lambo\"><img src=\"[b]http://i46.photobucket.com/albums/f136/popiwopi/IMG_0001.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a><br />"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'};width=405;height=340\" class=\"option\" title=\"[b]Saosin - You're Not Alone Video[/b]\" href=\"[b]http://www.youtube.com/v/uhD8WnBQQIw[/b]&hl=en&fs=1&autoplay=1\"><img src=\"[b]http://img50.imageshack.us/img50/8545/90763420ho6.png[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'};width=405;height=340\" class=\"option\" title=\"[b]The Used - Blue and Yellow[/b]\" href=\"[b]http://www.youtube.com/v/OIIIts7oSow[/b]&hl=en&fs=1&autoplay=1\"><img src=\"[b]http://img102.imageshack.us/img102/2568/72052059jf4.png[/b]\" width=\"87px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'};width=405;height=340\" class=\"option\" title=\"[b]The Used and My Chemical Romance live (2gether)[/b]\" href=\"[b]http://www.youtube.com/v/QZev4cC7Qzg[/b]&hl=en&fs=1&autoplay=1\"><img src=\"[b]http://img208.imageshack.us/img208/2914/89120263pi9.png[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'};width=405;height=340\" class=\"option\" title=\"[b]Pork and Beans - Weezer[/b]\" href=\"[b]http://www.youtube.com/v/T_jGlyqoYoo[/b]&hl=en&fs=1&autoplay=1\"><img src=\"[b]http://img221.imageshack.us/img221/5131/70284511ki7.png[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'};width=405;height=340\" class=\"option\" title=\"[b]time stands still - the all-american rejects[/b]\" href=\"[b]http://www.youtube.com/v/i2ef2KjWSRY[/b]&hl=en&fs=1&autoplay=1\"><img src=\"[b]http://img111.imageshack.us/img111/8352/39531983up6.png[/b]\" width=\"87px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'};width=405;height=340\" class=\"option\" title=\"[b]Miss You Love - Silverchair[/b]\" href=\"[b]http://www.youtube.com/v/boXJfsuxiEY[/b]&hl=en&fs=1&autoplay=1\"><img src=\"[b]http://img385.imageshack.us/img385/7954/84974971mf0.png[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a><br />"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://www.alesanarock.com[/b]/\" title=\"[b]Alesana[/b]\"><img src=\"[b]http://i324.photobucket.com/albums/k341/joshsabbath/alesana.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://www.saosin.com/[/b]\" title=\"[b]Saosin[/b]\"><img src=\"[b]http://i286.photobucket.com/albums/ll105/LovelyLay05/SAOSIN.jpg[/b]\" width=\"87px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://tokiohotel.pop24.de/tokiohotel2/index2_us.php[/b]\" title=\"[b]Tokio Hotel[/b]\"><img src=\"[b]http://theftalk.com/img/avatars/av9/82932.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://www.allamericanrejects.com/[/b]\" title=\"[b]The All American Rejects[/b]\"><img src=\"[b]http://i284.photobucket.com/albums/ll7/knight_frost/band%20pic/all-american-rejects.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://www.fmstatic.com/[/b]\" title=\"[b]FM Static[/b]\"><img src=\"[b]http://i254.photobucket.com/albums/hh120/joshlewie/fm.jpg[/b]\" width=\"87px\" height=\"75px\" alt=\"tax\"></a>"+ "<a rel=\"shadowbox[simpleMe];options={counterType:'skip',continuous:true,animSequence:'sync'}\" href=\"[b]http://www.theused801.com/[/b]\" title=\"[b]The Used[/b]\"><img src=\"[b]http://i102.photobucket.com/albums/m94/igotplayed75181/myspace/TUsed.jpg[/b]\" width=\"86px\" height=\"75px\" alt=\"tax\"></a><br><br><a rel=\"shadowbox\" class=\"option\" title=\"My Album\" href=\"http://www.friendster.com/viewphotos.php?a=0&uid=[b]Your id[/b]\"><b>View All Albums</b></a><br><br></center>"; document.getElementById('content_1').style.height='250'; document.getElementById('content_1').innerHTML = "<table width='540'><tr><td align='center'>"+tax+"</td></tr></table>"; });[/spoiler] i just combined it :D just edit those bold parts :cool: and paste it to your js file :penguin: [b]note[/b] :arrow: you can add more in that slide, you can also make it a plain, for eg. a plain for images :cool: slide screenshot :thumbsdown: [img]http://img214.imageshack.us/img214/9668/96583244hm2.png[/img] just modify on the script by adding [b]rel=\" shadowbox\" [/b] attributes :) preview :arrow: [url=http://profiles.friendster.com/62346457]Click Everything[/url] (click all [b]cp buttons[/b], [b]Post a Comment | View All[/b], [b]all images[/b] etc.) credits :thumbsdown: [b]Shadowbox.js[/b] [b]Michael J. I. Jackson[/b]

Last edited by simpleMe (2008-11-20 21:37:55)

roshwill
» FTalker
FTalk Level: zero
297
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

i can't see the fs profile for preview. :( but anyways this is a cool trick. i wonder if putting a video on an addbox will work? :wasted: the addbox and the video i clipped on my external js file didnt worked. =| the cbox, the tracker already showed except for the vid.:|
mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

but how about only comment box?
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

[quote=roshwill]i can't see the fs profile for preview. :([/quote] really? view it again just refresh if you can't see it =)[quote=roshwill]the addbox and the video i clipped on my external js file didnt worked. =| the cbox, the tracker already showed except for the vid.:|[/quote] make sure you edit those :arrow: [b]"[/b] into :arrow: [b]\"[/b] [quote=mhedge]but how about only comment box?[/quote] it will also triggered dude =)

Last edited by simpleMe (2008-08-31 01:35:58)

Yellow Flash
» Banned
FTalk Level: zero
1781
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

wow... nc trick again mah bro... u deserved a green.. :thumbsup:
Lordheinz
» FTalkElite
FTalk Level: zero
4377
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

:arrow: [b]here comes the brightest..mootols..;) nice one..thanks simple..[/b]
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

[quote=Yellow Flash]wow... nc trick again mah bro... u deserved a green.. :thumbsup:[/quote] thanks for your comment & +repu bro :D:thumbsup: [quote=lordheinz]:arrow: here comes the brightest..mootols..;) nice one..thanks simple..[/quote] thanks LH :D:thumbsup:

Last edited by simpleMe (2008-08-31 01:42:57)

regiehiozn
» FTalkFreak
FTalk Level: zero
1819
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

wow this is what im waiting for!! u deserve a +repyu.. :D
---xXirukiTepe---
» SuperFTalker
FTalk Level: zero
8896
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

[b]wow... nice one.. ur back.[/b]
Lordheinz
» FTalkElite
FTalk Level: zero
4377
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

@ offtopic: oww i didint know that michael jackson is good in scripting...=D just kiddin..i just saw your credits.. different MJ..;) very cool trick buddy...let me try this one.. hey heres a green for you...:thumbsup:

Last edited by lordheinz (2008-08-31 03:17:54)

krjalagat
» FTalker
FTalk Level: zero
290
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

cool!! =) ill use this sir tnx for sharing!
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

another cool one .. :cool: this might help : [quote]#navigation , #mainnav ul{ z-index: 0 !important; }[/quote] so that the main nav will also be darkened when the shadowbox is activated.. :wow: @ts: [img]http://theftalk.com/img/warn_add.gif[/img] 1 4 u .. :cool:
switpotato
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

wee tax got another cool tweaks.. on favor tax pls.. make a tricks that i can u as a premade code that user need not to edit anymore like ur cursor tooltips i been using it ever since... muahhss :kiss:
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

i tried this : [quote]window.onload = function(){ Shadowbox.init(); [b] Shadowbox.open({ player: 'iframe', content: 'http://www.youtube.com/v/EkHTsc9PU2A&hl=en&fs=1&autoplay=1', height: 340, width: 405, title: 'Jason Mraz - Im yours' });[/b] };[/quote] i tried to load a shadow box as soon as the page is loaded but it didnt work . how can i do this ? :paranoid:

Last edited by darylldelfin (2008-09-01 02:05:45)

mabuhay
» FTalkManiac
FTalk Level: zero
849
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

wow,, another trick from my idol =) :thumbsup: thanks 4 da share bro. Hit da [img]http://theftalk.com/img/warn_add.gif[/img]
saiEmo
» n00b
FTalk Level: zero
9
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

[b]@darylldelfin[/b] what you mean? you want to autoplay shadowbox when opening your page?

Last edited by saiEmo (2008-09-01 02:21:03)

darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

[quote=saiEmo]what you mean? you want to autoplay shadowbox when opening your page?[/quote] i kinda sort of like to pop up a welcome message/box using shadowbox not just an alert .. :D but i cant seem to do it .. :wallbash:

Last edited by darylldelfin (2008-09-01 02:22:37)

simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

[quote=darylldelfin]i tried this : window.onload = function(){ Shadowbox.init(); Shadowbox.open({ player: 'iframe', content: 'http://www.youtube.com/v/EkHTsc9PU2A&hl=en&fs=1&autoplay=1', height: 340, width: 405, title: 'Jason Mraz - Im yours' }); }; i tried to load a shadow box as soon as the page is loaded but it didnt work . how can i do this ? :paranoid:[/quote] haven't tried it :D but you can try this :thumbsdown: <">
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

^ still didnt work .. :cry: same happened .. shadowbox activated but didnt display any content .. :cry: and the trick didnt work for ie .. anyway thanks .. i hope i can find some solutions .. :D
spongebob_14
» n00b
FTalk Level: zero
2
0
1969-12-31

Re: just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

window.addEvent('domready', function() { document.getElements('img', 'html', 'iframe', 'qt', 'swf').each(function(e){e.getParent().rel='Shadowbox';e.getParent().href=e.src}); Asset.javascript('Shadowbo.js w/ mootools.js link here'); }); window.addEvent('domready', function() {onProfileLoad()}); window.onload = function(){ Shadowbox.init(); };
  • ARCHIVES 
  • » just want to share this cool Media Viewer, hope you like this :D what is Shadowbox? Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented overlay media viewer application.

Pages: 123

Board footer

© 2024 F Talk

Current time is 19:24

[ 10 queries - 0.897 second ]
Privacy Policy