Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fast michaels

Members
  • Joined

  • Last visited

  1. Thanks for the suggestion mate, but the script works, just not when there is another of the same on the same page, there must be a way of fixing the problem. But thanks for taking the time to give some imput, I appreciate it. I am wondering if I should have put this on the coding forums, say the first one on the the xhtml one, or if there is one suited to java script. If anyone knows how to get it moved, can they post here so I can request it to be moved. I have looked all over for a way of requesting it but I must be blind as I can't find anything. If a moderator happens upon this can you move this thread please to the xhtml coding forum please. Thanks everyone Kind regards
  2. Any other ideas? Anyone
  3. Yes, there is one for each. Insidentely, in ff 3, it is the last fader that is working (allbeit to fast) and the first two frozen, so if the references were missing, I gues ff 3 would display the same as ie7. Cheers
  4. Now, I have a small problem, but thats another matter, so I'll stick to the point. I have 3no javascript image faders side by side on a web page. Each fader has 4 images in it, and each fader is controled by its own .js file and styled in an external css. The faders are placed in a row and when the page is loaded the initial image of each fader is displayed, so you have three images in a row. The problem is that only the first fader starts to scroll through it's 4 images, and at lightning speed, the other two faders apear frozen on their initial image. All the java script for all three faders was in one .js file, but only the last fader worked and the first two didn't even display their initial images, so it looked like there was only one fader. I separated the js into individual files so now all the faders diplay initially, but like I said, only the first fader scrolls, and to fast. The code I am using for all three faders is the the same, except each one has its own reference in the script. The script is: window.addEventListener?window.addEventListener("load",so_init,false):window.attachEvent("onload",so_init); var d=document, imgs = new Array(), zInterval = null, current=0, pause=false; function so_init() { if(!d.getElementById || !d.createElement)return; css = d.createElement("link"); css.setAttribute("href","design/iccdstyle.css"); css.setAttribute("rel","stylesheet"); css.setAttribute("type","text/css"); d.getElementsByTagName("head")[0].appendChild(css); imgs = d.getElementById("imageContainerleft").getElementsByTagName("img"); for(i=1;i<imgs.length;i++) imgs[i].xOpacity = 0; imgs[0].style.display = "block"; imgs[0].xOpacity = .99; setTimeout(so_xfade,2500); } function so_xfade() { cOpacity = imgs[current].xOpacity; nIndex = imgs[current+1]?current+1:0; nOpacity = imgs[nIndex].xOpacity; cOpacity-=.05; nOpacity+=.05; imgs[nIndex].style.display = "block"; imgs[current].xOpacity = cOpacity; imgs[nIndex].xOpacity = nOpacity; setOpacity(imgs[current]); setOpacity(imgs[nIndex]); if(cOpacity<=0) { imgs[current].style.display = "none"; current = nIndex; setTimeout(so_xfade,2500); } else { setTimeout(so_xfade,50); } function setOpacity(obj) { if(obj.xOpacity>.99) { obj.xOpacity = .99; return; } obj.style.opacity = obj.xOpacity; obj.style.MozOpacity = obj.xOpacity; obj.style.filter = "alpha(opacity=" + (obj.xOpacity*100) + ")"; } } The code is the same for each fader, but I just wonder why only one is working. There must be some kind of conflict with them being on the same page. I called the script up like: <script language="JavaScript" type="text/javascript" src="imagefaderleft.js"></script> <script language="JavaScript" type="text/javascript" src="imagefadermiddle.js"></script> <script language="JavaScript" type="text/javascript" src="imagefaderright.js"></script> Any ideas why it is not working? Thanks anyone
  5. Princess Rachael, thanks for your help, it solved the problem and I will now endevour to use this principle as you and all the other guys suggested. Thanks everyone
  6. Thanks everyone, I will definatley take your advice a look deeper in external css. Pat24 thanks for looking into it for me, there must be something else effecting it, which I will look into. Thanks everyone.
  7. Bro, I thought the same thing as you, but it moves the h2 down in ff and ie, they maintain their relative difference in positions. As I set the margins and padding to zero, it did not change the ie position, but sent the ff position higher, but too high, so when padding was applied it applied it from both current positions, which were not the same. I have now taken the font tag out, and applied the 0 padding and margin to the <h2> tag and now both titles are in the same position, but I now do not know how to style to h2 text without adding back in the font tags. Any ideas?
  8. Thanks mate, just tried that and still not perfect. It has now gone the oposite way and is now to high.
  9. I changed the div to: <div style="position:absolute; top:200px; left:40px; z-index:8; padding:0; margin:0;"> But it hasn't helped
  10. Cheers mate, I'll wack those derametres into my div and see if that helps. You are right, I should make all my divs externally specified, I realised that 90% through the design of the site. I'll do that for sure on my next project. Thanks again
  11. Anyone know why the following <h2> is displaying wiered in ff. <div style="position:absolute; top:200px; left:40px; z-index:8;"> <h2> <font face="arial" size="2" color="#000000"><b>International City Church Doncaster</b></font><font face="arial" size="3" color="#000000"></font> </h2> </div> IE shows its fine, and it is valid html, as is the whole page it is on, but in ff the position of the text apears far lower down the page then in IE, which displays it in the correct place. The only way I can get around it is to put the <h2> tags to the outside of the div, therefore wrapping the div and text within the tag, which is not valid markup, but gives me the position control in ff. I am concerned that doing this will not identify the title as <h2> and therefore hinder the search engines identify its importance. Any ideas
  12. Hay mate, I can't spell and I use terrible grammer, and from a person who may need such a service in the future I was not actually totally clear from this first page what "Copywriting" is and what you are offering the customer, you say what simply say what "Vivid copy" is . I guessed what it is that you offer - you will write the copy for peoples sites in a optimised way - but you don't actually say that's what it is. Maybe this comes later on your other pages but I just felt I needed to know exactly what service you are offering me. Do you know what I mean, I was left guessing a bit, not everyone who may need this service will know what copywriting is. All the best
  13. That's fine Rob, I thought it seemed out of character from what I have seen of your other posts. Being tired does weird stuff. It makes me not able to spell. I must be tired all day. All the best friend.
  14. Roblet, I was not being picky mate I was just clarifying the team I was refering to in my previous post, you said I meant AFC Wimbledon, and I said my comment was refering to Ebsfleet, no being picky there brother, just saying what I meant. In addition I was comparing the process by which Ebsfleet was purchased by fans with the proccess of myf1dream's. To many people on this site are just too quick to mouth off at others, it make people feel like not commenting because they are concerned that the big wigs of the forum will have a go. It makes the culture of the site rather negative. your not at school now. I very much liked your site Rob, your website of the month is well deserved, All the best friend

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.