Jump to content

chibicheebs

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by chibicheebs

  1. Ok. Sorry that the title was a bit confusing, but this is what I need. I have the Konami code currently working on my website. Here is what I want to happen: If you get the code wrong: I want an alert that states you got it wrong. If you get it right, a youtube video opens in lightbox or fancybox. If this is not possible, how do I simply direct the user to another page on my site? This is my site currently: http://webdesign.miad.edu/stimm/ This is my javascript/jquery code: <script type="text/javascript" src="scripts/jquery.js"></script><script type="text/javascript" src="scripts/konami-JS.js"></script> <script type="text/javascript">konami = new Konami()konami.code = function() {alert("You have entered the KONAMI CODE! You now have 30 lives. Kinda.")} konami.load()</script> The Konami code works (up, up, down, down, left, right, left, right, b, a, enter). It just doesn't do what I want yet.

  2. Ok...I have fixed the background issue. Stupid mistake on my part. Now--just the regular portrait image-->same kind of issue-->won't allow me to set it to actual size (which fits the page height). In addition, the picture is large in Safari and small in Chrome. Any suggestions? Can I get that image to auto resize?

  3. This should really be basic but for some reason I can't get the background-image to do what I want :/ This is the link: http://webdesign.miad.edu/stimm/ The CSS for the image is: #wrapper{width:1024px;height:768px;} body{background-image:url(../images/bkg.png);background-repeat:no-repeat;width:1024px;height:768px;} And then of course, the wrapper is also in the HTML. I also have some JQuery and Javascript running to create the fade effect. Addt'l notes: I also tried to have no size on the wrapper and background-image, but it still stayed small. If I try to do "cover" as background size, it blows out the entire background and makes it huge. I wouldn't mind the background resizing with the window, but I haven't had much luck with that either. In any case, thanks for the help! -Steffane

  4. In my website I have Fancyboxes that pop out with an HTML website embedded in them. Those work perfectly fine. What I want to do is in one of the boxes is to scroll over in the fancybox (like in an image gallery) to an additional amount of info. The html contact page will open in a fancybox with one business location and then the viewer will be able to click an arrow to the right to shift to the next set of location information (still in the SAME fancybox). Is this possible? What is the fancybox/javascript code to allow a manually scrolling gallery to be possible? This is my current javascript coding: <script type="text/javascript"> $(document).ready(function(){$(".contact").fancybox({'width' : '50%','height' : '50%','autoScale' : false,'transitionIn' : 'fade','transitionOut' : 'fade','overlayOpacity' : 0,'speedIn' : 2000,'speedOut' : 1000,'type' : 'iframe','cyclic' : true}); }); </script> .contact is the class that leads to contact.html page. Any help would be fantastic. Thanks!

  5. This is the site I am working on http://webdesign.miad.edu/stimm/ I have the rollover using sprites. I do not know, however, how to move the button lower and over to the right. When I try to re-position, it messes how the sprite is set up. In addition, I would like a lightbox to open with text information when this particular button is clicked. If lightbox is not the correct program or way to do this, please let me know and give other suggestions. Main goal for site-->have each written portion be it's own button. When hovered over, the text has a slight shadow to indicate "hovering". When clicked, it opens a lightbox/fancybox with further information. 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>Shake, Rattle, and Roll!</title><link href="css/srr.css" rel="stylesheet" type="text/css" /><link href="css/lightbox.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="scripts/jquery-1.7.2.min.js"></script><script type="text/javascript" src="scripts/lightbox.js"></script> </head> <body> <div id="wrapper"><div id="nav"><ul><li><a href="index.html" id="home-button" class="home-button"><span>Home</span></a></li> </ul></div><!--nav--><div class="clear"></div><!--clear--> </div><!--wrapper--></body></html> CSS Code: css.rtf

×
×
  • Create New...