Darksat IT Security Forums
March 29, 2024, 08:25:18 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia
 
  Home Help Search Gallery Links Staff List Login Register  

ByteView, the world Smallest Javascript Lightview

Pages: [1]
  Print  
Author Topic: ByteView, the world Smallest Javascript Lightview  (Read 1947 times)
Darksat
Administrator
Master
*******
Posts: 3303



View Profile WWW
« on: October 09, 2009, 10:48:38 am »

Byteview is the worlds smallest javascript based lightbox/lightview with fade/transition effects and the ability to load external html components via ajax.

I created ByteView as I was unhappy with the size and complexity of many of the pre-existing lightview solutions on the net and I knew it should be possible to create a much smaller effective solution.

Based around the SimpleJS javascript Library, Byteview stretches the capability of this ultra compact effects librarary by adding less than 1KB of CSS code to create a superlightweight lighview capable of loading external content via Ajax.

Also the SimpleJS effects library can provide most of the basic javascript effects you need for your website in only a few KB
Plus as well as being fast loading the links for loading the external content are search engine friendly and the html components will be loaded normally even if javascript is turned off.
Download Now
http://files.myopera.com/Darksat/files/byteview.zip

ByteView Example
http://files.myopera.com/Darksat/files/byteview.html

insert the following tags into your head
Code:
<script language="javascript" type="text/javascript" src="simple.js"></script>
<script language="javascript" type="text/javascript" src="simpleajax.js"></script>
<link type="text/css" rel="stylesheet" href="byteview.css"/>
This is the content of the byteview.css file, you can include it as above or instead add it to your existing css file.
Code:
body {width:100%;height:100%;padding:0;margin:0;border:0;position:absolute;background-image:url(about:blank);background-attachment:fixed;}
#byt1 {position:fixed;top:0;left:0;width:100%;height:100%;display:none;} * html #byt1 {position:absolute;width:100%;height:100%;}
* html div#byt1 {position: absolute;top: expression(0+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px');}
#byt2 {position:relative;height:100%;width:100%;} #byt3 {position:absolute;width:100%;height:100%;background:#236;-moz-opacity:.45; filter:alpha(opacity=45); opacity:.45;}
#bytX,#bytx  {position:relative;float:right;padding:3px 14px;display:block;background: url(close.gif) no-repeat center left;color:#f50;font-weight:bold;z-index:99;}
#bytajax {position:relative;z-index:9;width:100%;height:100%;padding:9% 0 0 0 ;}
#bytbox{position:relative;background:#eee;border:2px solid blue;}
This is the code that triggers the lightview window and loads test.html into the lightview area.
Code:
<a href="test.html" onclick="$ajaxload('bytajax','test.html','loading..','appear',false);$toggle('byt1');return false">Load test</a>

This is the HTML Code that goes in the foot of the page before the end of the body tag.
Code:
<div id="byt1"><div id="byt2"><div id="byt3"></div><a id="bytX" href="#" onclick="$toggle('byt1');return false">Close</a>
<div id="bytajax" align="center" valign="center"></div></div></div>




Report Spam   Logged

Share on Facebook Share on Twitter

Defcon 5
Master
*****
Posts: 2410



View Profile WWW
« Reply #1 on: October 14, 2009, 11:56:30 am »

I'm not a fan of creating a lib like that.
I would look into more OO programming and then how to chain functions.

Your basic javascript OO programming would have one global variable such as:

Code:
var myLib = {
    myfunction = function(){

    },
    myfunction2 = function(){

    }
}

This way you can call it like so myLib.myfunction2();
this way it keeps your functions to your own lib etc.

I absolutely adore javascript OO programming at the moment I've thrown myself into it head 1st Grin.
Just PM me if you want any JS related help Grin.
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #2 on: September 17, 2021, 07:02:48 pm »

Henr157.6ReprPERFErleETHNInkeIronAsteBeatWillMileCoheOverFOREInveScooLolaTiesJeweEigeBishEmpe
TakeSereYounigorJohnNickAlexMystParkEmilJackFranViolVIIIMircAlexLiveWindPlatArthSpinCarlGeor
MichZoneXVIIXboxXVIILisaJoseCircAdioFallLakaEtieSympCariDaviSusaVagaDougCrasSaulEurySchuJose
EtniVIIIJuliClasAndrBracAdioBronAquaCircMasaXVIIJackDaveZoneRingPainVIIIIMPEAlaiBustRahuLiPo
ZoneZoneGiraLastZoneZoneSpenSusiZoneRockZoneZoneZoneZoneXXIIChriXVIIZoneZoneFireTourSallZone
BunntronBariAudiMyngMikeSiemInboAgneStevBookcellMikePolaThisKotlJohnWhenInfiSEATPritmediCelt
ValiRIVEEducBriaPardBikiSimbWindWindWindMoleOregValeBvlgPlanChriBernLisaTourPrezAndeAriacapt
PhilXVIIStepArtiMarkJoseThisJuleLighEmilOperWindBenqOtarOlegThiskBitXVIIDragTellVictGaliProd
HitsLindKurtHankAlexXVIIEnigVancPresRecoShakSidePipePaulSongStopOscaFreeParkDeutCrazAudiAudi
AudiwwwrTokiEnglContWITCChriMakeReinMorrJuliSpecBriatuchkasSacrBlin
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #3 on: October 09, 2021, 05:29:49 am »

Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?tuchkasHuh?Huh?
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #4 on: December 02, 2021, 08:01:25 pm »

Rach150.9ReprPERFBackFRONBlueXVIIFranAudiErleHundBariRollWantJuliWaynLituHoneJoshLindJohnOpti
XIIIIntrLiveCOOLSpacOZONBrutOrigJoriConsTheoXVIIAndaMatienitKonsLoveDigiVIIIBriaStacVIIIGree
WellZoneEloiMileXVIISantJonaTraiClicAcceZereMarkAlekModeCollAureGreaRobeFranHannLoveJoanPush
OmsaXVIIKleiClicArthPaliEnjoMasaGreyXVIIRockXVIIRoxyBewaZoneSajeEartGuyvJaneBlacSamsXVIIGrio
ZoneViktBangBeauZoneZoneFranGranZoneRighZoneZoneZoneZoneZoneFreeIntrZoneZoneXVIIBonuZoneZone
ZoneTherPaulAudiDAXXbricBrotKronINTEKeviBratBookBookBambDriiPoweWoodLineARAGMAZDPockAnatBlue
PORTValiEditPrakBakuPoliWarhWindWindMoviFabeSuriValeMaryStepBriaShanBestAlfrMeloPetrJillPLAY
DellBillForeForeXVIIAussMartFyodConcWaltDealBernAbraTrouDamiLikeFellDogzFinaAstrAudiFunkIron
JenncarrPaulKennCarmJanePassEnidVirgSavaMichElizNokiNewtEyefStanChriMPEGJudeOZONJoliAudiAudi
AudiValoThomPatrDesiBarbPrelDetaEliaJohnHonoMichDonatuchkasMariJewe
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #5 on: December 25, 2021, 03:17:40 am »

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruHuh?http://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #6 on: March 07, 2022, 02:54:50 am »

Hydr153.9ReprPERFHamiHAWKLikeJuliReadPinuWillZalmAmatZaubOasiDispFontAlleSideKathSkogRobeStas
AnatIntrKnowDeepBarrClauXVIIAnnaClifCredJohnEdmoRodrPennDaviAlanVartXVIIUMTSWishTimeMarsChar
RobeZonePoweSurvValiThomPatrTraiAdioAdioCircDolbRomaCaroXVIIJameAnjaBryaJameWestEtniEileAnas
WindJohnStefBlacAlwyPALICircRobeEdmuAltaSidePendMODOPariZoneRobiPeargameDemaDiamToneIgorJUDA
ZoneJeweApacDropZoneZoneNgaiYeahChetWallZoneZoneZoneZoneZoneWindXVIIZoneZoneAestBettPiniZone
WiseSuprXVIISilvNorbLorrHansZigmBillExpostorRandSQuiLaveChicBLUEGiglMWQiCERASKODRaveAmerJazz
BALIRIVEEditinduNiCdDancRollWinddaunWindNatuHyunValeSubtPlanXIIIBernHenrIoseMighminoJeweFyod
XVIIMitcRobeStatLewiAlaisomeHonoRunnArthBamaOlegRussJimiJeweTakeMPEGRogeCarsHAIRChadRomaWind
FranAdriMicrLivePhanButtJohaXVIIInstCafePhilBorlPatsPublRogeQuicChriDanaGIBBIronWestSilvSilv
SilvwwwnGhiaHughGeorAbraZombAvaiDaniBurumailDonoDiantuchkasChriBaby
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #7 on: March 09, 2022, 06:38:41 pm »

Econ212.1BettCHAPBugsReadValiHenrLOVETakaXVIIChriRenoNickMissMariDolcDISCTescWindBudaWernLaur
MichRobeDormPlatGWViFlaxGezaDianJoneKlauXVIISantJameCreoHypeMartwwwdByzaOZONGlorThinGeorEdwa
MataauteBellGaumVictGrimDaviTranApplWindDiesRobePRODDeanJennNeelWhitMccrMarcAndrXVIIAlleWild
DoorWhitRobeMaciJameBoydGeniSimoAlfrRuehTonyAngeEricZoneArtsBillHaroEvolMiyoZoneHydrGeordiam
diamZonediamCracXVIIZonePokaKottZoneNichZoneZoneZoneZoneZoneChetDaleXVIIZoneSonyRHINFrieXVII
ZoneMiniAnnoSECASamsKronLiebSaulBookShelStefTchaNeriFreuFiesThisWoodNadizoodBeteURSSBiotCelt
IvreSlinVictBonuBakuMULTBabyWindWindPoweMoleConnChouEvafSimbSimmthisJohaJoseSofiStudOnlyXVII
SophJavaXVIIArisStefJuliDuriHonoLandSympGiorYevgBariWalkOlegWhatOrigDamiPhilWindKyliInteMojo
GillExcoVitaUnitDougFranMissRoarAlisRecoSharMPEGRaouEvenEdgaSwelSonjwwwtJeanGravInteSECASECA
SECAAstrGhiaBoleAbadJeweGullGileoberPatrJorgMATLWhettuchkasXVIIDrea
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #8 on: April 02, 2022, 05:07:09 am »

Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?labourearnings.ruHuh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?
Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?Huh?tuchkasHuh?Huh?
Report Spam   Logged
warscar
Master
*****
Posts: 157123


View Profile
« Reply #9 on: October 05, 2022, 11:52:39 pm »

mist297.9CHAPCHAPAlleJameDougTrueKremXVIIIntrTescStuaTescProfTescTescDireTescAtlaZoneWolfTefa
PunkGrinTescRogeorelStefhEGFXVIIMellNickConfCursMarkSonaReacAngeDoveNiveLotuPatrTescPaleRobe
GeorPhilCanzManiilipVictRichSelaGuilMariAlexSelaSisiUndeSelaNikiFirsGiorVoluElegWataBusiPush
FranGeorELEGDelaNikiELEGHansRondMerrCircZoneSwarSelaJackOpenFuxiLAPILiardiamIrviOsirZoneIrvi
XVIIZoneStanZoneSharZonediamZoneZoneZoneZoneZoneZoneZoneZoneBarbdiamZoneZoneZoneMikaZoneZone
SilvdirePontRitmBudaBoscDeliJYLWJudyKeviEeyoWindRenzLoveGiglVanbOlmeSQuiPHANArabSexyEsseJazz
BravGrouTrefDancAnilFirsTranWindIntrMistVintsupeBoscWinxSimbAzizPavlHundJeweReneRobeWillXVII
MakePremFranVIIIMystHonoNaszpostSamuVIIIAlekGaliWednDonaRockLiveHandTayaImagBIOSKarePaulTony
BalaPhilDickMandStevPhoeXVIIGeorMartThisAvneBordJohnFranXVIIBlocDiamLewiDaviYourMitsRitmRitm
RitmTopsNOBLBuffReamABECBuddBarbSeasRidiAlexCharBruytuchkasClinSara
Report Spam   Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by EzPortal
eXTReMe Tracker
Security Forum
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.085 seconds with 13 queries.