Jump to content

callumacrae

Members
  • Posts

    89
  • Joined

  • Last visited

Everything posted by callumacrae

  1. Right click, "Inspect Element".
  2. There are a few problems with this code:The $fadethis variable is undeclared. Your lack of correct spacing makes the code very tricky to read. I initially thought that the $fadethis function was being called immediately inside the $fadethis function, which it isn't. Why have you begun your function name with a dollar sign? This isn't PHP. Sure, do it yourself in your own code, but don't confuse beginners by trying to get them to do it Why are you passing a function which calls $fadethis as a callback? Why not just pass $fadethis? Your line with logic in seems needlessly complicated, and also wrong. How are you hiding the old elements? I suspect you meant to .hide() the elements (which is easier than calling .css() manually), then call .eq(), and then fade the specific element in. Assuming the logic you implemented it correct, everything on the page will jump up a couple hundred pixels wfor a fraction of a second when slides change. There is no way to restart the powerpoint. User cannot manually advance the powerpoint, which would be nice. Why are you hiding the elements using .css()? This is what .hide() was designed for, and it is better at it.
  3. Media would be an exception for the popups rule, but even then it would be better off without.Again, please learn what invasive means. You seem to be confused. I'm not.
  4. You shouldn't use double quotes for a string like that, that's ugly.Mind you, you shouldn't really have HTML in a string either.EDIT: yey ipb sucks
  5. I get the impression that you don't know what invasive means and that you'd also happily use alert and prompt, light boxes are not popup windows, I'm not sure where you got that from, light boxes are also pretty invasive though, you shouldn't assume that your users will trust you, as a lot of your users won't and you want the website to work for them too, I don't have the memory of a goldfish but I still couldn't remember the beginning of your post when I got to the end of the post, please use sentences and try to not ramble.
  6. I once worked with a guy who could write any regular expression without a reference. I learned from him to always understate your regex abilities, or you will spend half your time writing regular expressions.
  7. Please don't do this, though. Export it as images, and use JavaScript to switch between them. Gifs should not be used for this.
  8. That sounds crazy invasive. What happens if I want to go to a different tab on the original window and then go back to the popup? Either way, it'll be ugly.I believe that Chrome blocks all popups by default, and doesn't notify the user. Even so, if something comes up saying "popup blocked", most users now just associate popups with spam and so don't tell it to open the popup.
  9. You should never rely on popup windows. They are invasive, often confusing for the user (if their browser is full screen and the popup goes behind it, they have to mess about with windows to get it back), and if they're not blocked by a popup blocker - which a lot of people have enabled - they will often be ignored just because they're popups.
  10. Oh. I guess that'll have to do, then. I'd prefer a dedicated BBCode, though.
  11. Yep, this is a very good tutorial by the author of "Regular Expressions Cookbook". If you want to know literally everything about regular expressions, buy Mastering Regular Expressions. It will make your head hurt, though.
  12. Whoops. I was trying to avoid the argument, must have skipped that post by accident.
  13. Ah, my bad. I didn't test whether the first code sample actually worked, so I assumed that it must be the other way round and tested that. They both work for me. OP: What specifically isn't working, and in what browser? It's working for me.
  14. Hi, Please could an inline code BBCode be added to the forums? Just so that I can talk about the [c]document[/c] object without confusing people.
  15. callumacrae

    include problem

    Please could you use the BBCode? Your post is extremely tricky to read, and I don't understand what you're asking.
  16. You have written: border:2px solid blue; It should be: border:2px blue solid; Either help, or don't. You're making a fool of yourself.
  17. What? Define "more professional".
  18. Why would you want more information?
  19. -moz-text-blink: none; Irrelevant and confusing. It's not in the OPs original code.
  20. Wow, seriously? Either answer OPs question properly, or don't answer it at all. Providing a long sample of code with a lot of irrelevant chunks will not help the OP, it will only confuse him or her.
  21. Set the background colour of each TD element to white when it is clicked, which will hide the image behind it. http://jsfiddle.net/paWv5/ - it'll need some work to get it to work in IE currently.
×
×
  • Create New...