Jump to content

rockinaway

Members
  • Posts

    509
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

rockinaway's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. nope because prior to the plugin, when I output images with the already coded '/>' it works fine. However, the plugin seems to replace the existing '/>' when adding width and height and then completing with a '>' rather than '/>'
  2. http://ditio.net/2010/01/02/jquery-image-resize-plugin/ I'm using the above plugin but after the width and height are added to the IMG tag, the tag is finished with just '>' instead of '/>'. How can I replace the '>' with a '/>'?
  3. I have a page where if the user scrolls to the bottom then new content is loaded. This code is being used: if ($(window).scrollTop() == ($(document).height() - $(window).height())) { load(); } Now when the scrollbar is right at the top of the scroll, when you refresh the page the scroll bar remains at the top and when scrolling down to the bottom new content is loaded. However if I scroll halfway down the page and THEN I refresh the page, then the scrollbar isn't right at the top, it is slightly lower down (about 20-30 pixels down) and when I scroll down to the bottom the content is not loaded. When I looked at Firebug, I saw that this function was being called TWICE when this happened and the second time was failing. I'm not sure why it is calling the function twice when the scrollbar is offset from the top on page reload :s Any help?
  4. I am using JWPlayer to embed videos into my website. However, I was wondering which method of embed you would advise using from: http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12538/supported-player-embed-methods I am currently using the <video> tag but will this stop working if someone accesses with HTML4? Or is the player just searching for the tags just to replace?
  5. Haha thank you, just wanted to check! It seemed too simple to be the way forward!
  6. What if, for older browsers, instead of the pushState I just set it so the browser actually redirects or goes to that URL that would have been set by pushState? Seems too simple to be valid :s
  7. Okay thanks, I think I have an idea what I can do. Is there any place (emulators etc) where I can test old <HTML4?
  8. I am looking to allow users to upload videos to my site and then allow playback too. Any help as to how to go about this and also major security points?
  9. I have 2 functions which work with setTimeout to continuously loop. However, they both start executing together and so sometimes information in the files clash and the functions fail. How can I make it so that one function starts and then ONLY WHEN THAT IS FINISHED the next function starts.. and then when that finishes the first function goes again. Any way to do this?
  10. Okay so if I was to put in fallbacks, how should I go about it? Any tips?
  11. Yeah I've started using the History.js plugin which helps with cross-compatibility too. As for a fallback, I'm not entirely done with adding one and not sure if I will add one because most support state. What do you mean by 'hijack links/forms'?
  12. Hmm well looking at the support it seems that it is the thing for the future and is supported by most of the latest browsers. Wouldn't you recommend implementing it now rather than later? I mean the only two that don't support it are mobile versions which currently I don't aim to directly support anyway. What are your thoughts on this? And a note, brilliant website there! Never used it before - extremely useful thanks!
  13. I see, so you would recommend sticking with hashchange at the moment? Although I have seen quite a few big websites e.g. Facebook using some type of pushState to alter the URLs. I assume they have a fallback if it fails?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.