guys naa koy question about kani na site CLGaming kay ang space sa ads nila naa man text na muappear before mugawas ang ads nila giunsa ni nila script ba ni sya?
Daghan man guro ways, pero ang easiest is using an iframe with meta auto refresh.
First iframe source displays the standard "text", then auto refresh after a few seconds then mo load sa ads.
If you have other questions, I try nako'g answer, post it here. Websites | Cebu Information and Guide
Thank you.
Try ko answer bai ha.
I think mas dali kung imo gamiton kai javascript nalang.
Sa javascript, you just need to observe document load and display the text/image and from there wait for xx seconds and display the ads.
So mahulog nga 2 ka containers perhaps <div>, 1 for the ads and 1 for the text/image. At document page load ang container sa text/image kai styled "display:block" and ang container sa ads kai styled "display:none". Then naa ka code sa javascript nga mo wait og pila ka seconds then update sa imo page by swapping the 2 containers style.
Hope nakahatag ko idea. ^_^
Cheers.
A search engine for jobs across the web - Kylesearch.com
maybe actionscript 3 using simple event listener
asa nga ad ani bro? kaning banner sa ibabaw?
if mao na u could use man guro overlapping containers 1 background with text and the other ky container with the ad contents itself... if pariha ana sa ilaha na flash ang ad ky usually it takes a little time to load flash content therefore ang mu.display una ky ang under container. if not ky event listner javascript na cya
murag naa man timer ang ila ads box before mugawas and if ever ang viewer sa site nila is using ad block makitan still nila ang box na requesting for their support.
i get the idea behind it pero di ko kahibaw how to make it di biya ko pro web developer
newbie ra gani ko wa gani koy knowledge sa php ug javascript![]()
i think what you're referring to is the carousel gallery. naay daghan ani using jquery. you can search the net for code snippets.
but as for the site, i think this is the script that makes the slider fade in and out.
it has an array that has the image urls, the caption and the link.Code:<script type="text/javascript"> //<![CDATA[ window.addEvent('domready', function(){ var data = {'interface/img/slideshow/tournament.png': { caption: '$2000 - Beta Tournament', href: 'http://clgaming.net/board/board25-announcements/board26-community-news/4513-2000-beta-tournamentception/' },'interface/img/slideshow/guides.png': { caption: 'CLG Guides', href: 'http://clgaming.net/guides' },'interface/img/slideshow/razer.jpg': { caption: 'Counter Logic Gaming tie the knot with Razer', href: 'http://clgaming.net/board/board25-announcements/board2-news/2425-counter-logic-gaming-tie-the-knot-with-razer/' },'interface/img/slideshow/reignofgaming.jpg': { caption: 'Reign of Gaming', href: 'http://rog.clgaming.net/' }, }; var myShow = new Slideshow('slideshow', data, { captions: true, controller: false, height: 250, width: 768, delay: 8000, thumbnails: true, replace: '' }); }); //]]> </script>
thanks ms krissy gonna study that and try to implement it on my upcoming site
Similar Threads |
|