Go Back   Dynamic Drive Forums > Blogs
Search Dynamic Drive Forums:

  1. Old Comment
    molendijk's Avatar

    Prevent users to open a video on the video-providing site (in a new window)

    I think it's YouTiube's fault, since it never happens on DailyMotion and sometimes only on YouTube.
    I developed the thing a little bit further here. In the (main-)menu, scroll down and click on Bach/Loussier: Air on the G-string . Its a DailyMotion-video. You'll see there's no problem there.

    Thanks for the comment.
    ===
    Arie.
    Posted 11-19-2009 at 10:28 PM by molendijk molendijk is offline
  2. Old Comment
    Schmoopy's Avatar

    Prevent users to open a video on the video-providing site (in a new window)

    It's a good idea, since I come across this sort of thing all the time. The only thing is, after pausing the video and then pressing play again, it either seems to restart from the beginning, or just sort of freeze.
    Don't know if this is the fault of the youtube video or the options that you changed.
    But when viewing the video directly, it doesn't seem to happen.
    Posted 11-19-2009 at 08:08 PM by Schmoopy Schmoopy is online now
  3. Old Comment
    Nile's Avatar

    Document Resizer

    Why not?
    Posted 11-12-2009 at 10:49 PM by Nile Nile is online now
  4. Old Comment
    jscheuer1's Avatar

    Document Resizer

    Quote:
    Originally Posted by Nile View Comment
    Ok, thank you. (I wasn't planning on using it anyways. )
    Oh really now?

    In that case, why did you blog such drivel in the first place?
    Posted 11-08-2009 at 01:51 AM by jscheuer1 jscheuer1 is offline
    Updated 11-09-2009 at 03:25 AM by jscheuer1 (add specificity)
  5. Old Comment
    Nile's Avatar

    Document Resizer

    Ok, thank you. (I wasn't planning on using it anyways. )
    Posted 11-07-2009 at 03:46 PM by Nile Nile is online now
  6. Old Comment
    jscheuer1's Avatar

    Document Resizer

    The zoom style property is supported in IE (not real well where positioned, padded, or floated elements are involved), Safari, and Chrome. However, not in Opera or Firefox. By extension, I would assume (though untested) that would mean not Flock, Netsacape, nor any other Mozilla based browser, probably others.

    These sort of scripts (document resizing) shouldn't be used though, the browser itself performs this function. Also, when so many browsers do not support a script, this is another reason not to use it.

    Further, zoom is invalid style according to the W3C css validator.
    Posted 11-07-2009 at 11:15 AM by jscheuer1 jscheuer1 is offline
    Updated 11-09-2009 at 05:23 PM by jscheuer1 (accuracy)
  7. Old Comment
    jscheuer1's Avatar

    Featured Content Glider- Fade instead of Glide

    Since the upgrade of the main/original script:

    Quote:
    //Updated (July 21st, 09): Updated to work in jQuery 1.3.x
    To use the mod in this blog entry, one would be better off just changing the one line in the upgraded script available on:

    http://www.dynamicdrive.com/dynamici...tentglider.htm

    from:

    Code:
    $target.animate(endpoint, config.speed)
    to:

    Code:
    $target.css(endpoint).css({opacity:0}).animate({opacity:1}, config.speed) //custom code
    Otherwise you will have to use jQuery 1.2.x and not benefit from other improvements to the code.
    Posted 11-05-2009 at 03:50 PM by jscheuer1 jscheuer1 is offline
  8. Old Comment

    Document Resizer

    I just copied it for my future references, thanks for the script.
    Posted 11-04-2009 at 09:48 PM by muqtada123 muqtada123 is offline
  9. Old Comment
    Nile's Avatar

    Document Resizer

    I was responding to jscheuer, but thats interesting... probably a bunch of stupid arguments between the browsers.
    Posted 11-03-2009 at 01:03 PM by Nile Nile is online now
  10. Old Comment

    All Levels Menu- top headers revealed onClick instead of onMouseover

    This .js file doesn't seem to work in Safari 4.03. Any help would be appreciated. Thanks.
    Posted 11-03-2009 at 11:50 AM by dragot dragot is offline
  11. Old Comment
    molendijk's Avatar

    Document Resizer

    Nile, I didn't mean to say that your script works on any browser except Chrome, but that the script on the page produced by the LINK in my post ('This') works everywhere except on Chrome.

    Your script (almost) gives the opposite result: it works in IE and Chrome, but fails on any other browser.

    Arie.
    Posted 11-02-2009 at 09:03 PM by molendijk molendijk is offline
  12. Old Comment
    Nile's Avatar

    Document Resizer

    @jscheuer: The only code that isn't being used is:
    Code:
    var size = new Array("XSmall", "Small", "Medium", "Lage", "XLarge", "XXLarge");
    I made this array myself, and did not take it from anywhere. I was going to use it, but then realized that it wasn't reasonable, and then forgot to remove it. It seems to work in Google Chrome too, but I haven't checked Firefox yet.
    Posted 11-02-2009 at 02:29 AM by Nile Nile is online now
  13. Old Comment
    molendijk's Avatar

    Document Resizer

    This seems to work on any browser except Chrome.
    Posted 11-01-2009 at 09:11 PM by molendijk molendijk is offline
    Updated 11-01-2009 at 09:11 PM by molendijk (Correction)
  14. Old Comment
    jscheuer1's Avatar

    Document Resizer

    A zoom and/or text resizing option is included in virtually every browser. So there is no need to code one. In fact, doing so discourages users from learning the rudiments of their browser(s). Not all browsers will activate (in fact many will not) anything on invocation of the zoom style property. And in IE, this style property often has undesirable results.

    The code itself (as of this writing) is sloppy, introducing both meaningless and utilized variables in the global scope where neither are required. This in itself could mess up your page.

    In short - I would highly recommend against doing this.
    Posted 11-01-2009 at 05:23 AM by jscheuer1 jscheuer1 is offline
    Updated 11-09-2009 at 05:20 PM by jscheuer1 (accuracy)

All times are GMT. The time now is 11:29 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.