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.

lostduckstar

Members
  • Joined

  • Last visited

  1. So i should do something like this in the head of the document: <script> $(document).ready(function(){ $("#thumbnails").yoxview({ option: 'value', option: 'value' }) </script> Or i got that totally wrong?
  2. I found this jquery slider that accepts vidoes as well, I tryed to run it but it won't even do it. I followed their usage tips but I don't know what they mean with: " (Don't forget to call it from within $(document).ready!) $("#thumbnails").yoxview([options]);" here's my html code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Home</title>[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)]<link href="../yoxview/yoxview.css" rel="stylesheet" type="text/css" /> <link href="../css/cssdosite.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript" src="../yoxview/yoxview-init.js"></script>[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)]</head>[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)]<body> <div id="bg"> <img src="../image/bg.gif" /> </div>[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)]<div id="videoscontainer" class="yoxview"> <a href='http://vimeo.com/5604684'> <img src="images/items/thumbnails/geva.jpg" alt="Come Race Me" title="Geva Alon - Come Race Me" /> </a> </div>[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)]</body> </html>[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)] And this is my CSS code for now: @charset "utf-8"; /* CSS Document */[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)]#bg img { width:100%; height:100% } #bg { position:absolute; z-index:-1; }[/background][/size][/font][/color] [color=black][font='Courier New'][size=2][background=rgba(102, 133, 150, 0.339844)] What do I need to do to make that plugin work with a video embed? Here's the "yoxview usage" page: http://www.yoxigen.com/yoxview/usage.aspx
  3. Hi, I'm new here, and I've been doing this webdesign thing for 6 to 7 months now. I'm the worst. Literally. I'm always looking for this jquery and javascript to resize the background and never seem to work out. Here's one page a tryed to follow trhough http://growmedia.ca/blog/2009/10/14/resizable-full-browser-background-image-with-jquery-preserving-aspect-ratio/ I first just copied the javascript they first put in there. After that I did copy step by step the codes and in the end it didnt work. I sincerely hate jquery and javascript, but it's something I need to learn Can someone make me a newbie guide for this " resizable background" ? I put the codes together and ended up with this: (function($){ //code goes here $(document).ready(function() { $('#bg').resizenow(); }); $(window).bind("resize", function(){ $('#bg').resizenow(); }); var startwidth = 1440; var startheight = 956; var browserwidth = $(window).width(); var browserheight = $(window).height(); if ((browserheight/browserwidth) > ratio) { $(this).height(browserheight); $(this).width(browserheight / ratio); $(this).children().height(browserheight); $(this).children().width(browserheight / ratio); } else { $(this).width(browserwidth); $(this).height(browserwidth * ratio); $(this).children().width(browserwidth); $(this).children().height(browserwidth * ratio); } $(this).children().css('left', (browserwidth - $(this).width())/2); $(this).children().css('top', (browserheight - $(this).height())/2); $(document).ready(function() { $("div#bg").supersize(); }); })(jQuery); I changed the "supersize" tag for "bg" that it is actually my div for the resize. I tryed not doing that too, but it didn't work anyway. Please help.

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.