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.

shan

Members
  • Joined

  • Last visited

Everything posted by shan

  1. cool - thanks 4 the info
  2. Perhaps a silly question to some, but something I don't know, and I think I should.. so what is the difference between ID and CLASS in css - And how should they be used properly? thanks shan
  3. no - SO any ideas on how to do this is greatly appreciated
  4. Hi, I'm trying to make a repeating region that contains a spry collapsable panel. The problem is that i need to develop a way to automatically increase the ID of the spry panel. The problem I am encountering is that only the first Collapsible Panel works properly. The remainder are displaying the data, but will not open and close when their tabs are clicked. It appears that all are being repeated as id="CollapsiblePanel1". Does anyone have a way to increment the Tab & Content ID's? On another forum, somebody has suggested using the following PHP - although having never used PHP before, I am uncertain as to where I insert this into my code: <?php $counter = 1; ?> <?php do { ?> <div id="CollapsiblePanel<?php echo ($counter); ?>" class="CollapsiblePanel"> My code is as follows: <!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>Untitled Document</title> <script src="../SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script> <link href="../SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" /> </head> <body> <!-- TemplateBeginRepeat name="RepeatRegion1" --> <div id="CollapsiblePanel1" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0">Tab</div> <div class="CollapsiblePanelContent">Content</div> </div> <!-- TemplateEndRepeat --> <script type="text/javascript"> <!-- var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1"); //--> </script> </body> </html>
  5. No answers yet? I've stripped down the code to the bare minimum, to illustrate the problem. take a look: http://www.soulfulunderground.net/test/info.htm any ideas why the image is not overlaying the Ifarme in Safari properly? works fine in IE and Firefox, but not safari - Very very fustrating, as I can't really progress with the site until I work this out thanks in advance..
  6. div image bleeding through iframe in Safari Hi, I'm creating a page that contains an Iframe, with 4 divs layered over it to create a unique border / frame. The divs contain images that make up the border. Works fine in Firefox and IE - But safari has a problem: When scrolling the Iframe (with the scrollbar on the left), the images from the div tags are bleeding through onto the Iframe, and making a horible mess. Any ideas on why this might be happening, and how I would fix it? You can check the page here (Just make sure you view it with Safari - and use the scrollbar to see what happens): http://www.soulfulunderground.net/test/info.htm <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>site</title> <script language="javascript">AC_FL_RunContent = 0;</script> <script src="AC_RunActiveContent.js" language="javascript"></script> <style type="text/css"> <!-- body { background-color: #FFFFFF; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 14px; } #horizon { color: white; background-color: #0ff; text-align: center; position: absolute; top: 50%; left: 0px; width: 100%; height: 0px; overflow: visible; visibility: visible; display: block } #content { font-family: Verdana, Geneva, Arial, sans-serif; margin-left: -350px; position: absolute; top: -266px; left: 50%; width: 700px; height: 532px; visibility: visible } #left { text-align: center; position: absolute; top: 216px; left: 119px; width: 100%; visibility: visible; display: block } --> </style> </head> <body onload='document.getElementById("iframe").style.display="block"'> <!-- this iframe is above the Flash, but below the div --> <iframe src="java script:false" style="position: absolute; top: 0px; left: 0px; display: none; width: 102px; height: 32px; z-index: 5;" id="iframe" frameborder="0" scrolling="no"> </iframe> <!-- iframe width is width of the div + borders, so 100 + 1 + 1 = 102 --> <div style="position: absolute; top: 0px; left: 0px; z-index: 10; display: block; border: 0;"> <img src="images/white_overlay.gif" width="40"> </div> <div id="horizon"> <div id="content"> <iframe style="position:absolute; top: 38px; left: 6px; z-index: 10; display: block; width: 687px; height: 492px; frameborder="0" src="PAGES_info.htm"> </iframe> <div style="position: absolute; top: 30px; left: 0px; z-index: 10; display: block; width: 100px; height: 30px; border: 0;"> <img src="images/divider.png"> </div> <div style="position: absolute; top: 538px; left: 560px; z-index: 10; display: block; width: 100px; height: 30px; border: 0;"> <img src="images/knowfoowl.gif"> </div> <div style="position: absolute; top: 13px; left: -46px; z-index: 10; display: block; width: 100px; height: 30px; border: 0; "> <img src="images/left.png"> </div> <div style="position: absolute; top: 13px; left: 649px; z-index: 10; display: block; width: 100px; height: 30px; border: 0;"> <img src="images/right.png"> </div> <div style="position: absolute; top: -5px; left: -5px; z-index: 10; display: block; width: 100px; height: 30px; border: 0;"> <img src="images/top.png"> </div> <div style="position: absolute; top: 522px; left: -5px; z-index: 10; display: block; width: 100px; height: 30px; border: 0;"> <img src="images/bottom.png"> </div> <!--url's used in the movie--> <!--text used in the movie--> <!-- saved from url=(0013)about:internet --> <script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0', 'width', '700', 'height', '44', 'src', 'navigation', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'transparent', 'devicefont', 'false', 'id', 'navigation', 'bgcolor', '#ffffff', 'name', 'navigation', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'navigation', 'salign', '' ); //end AC code } </script> <noscript> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="700" height="44" id="navigation" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="navigation.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#ffffff" /> <embed src="navigation.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="700" height="44" name="navigation" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </noscript> </div> </div> </body> </html>
  7. cool - That definitely worked in all browsers.. Here is my iframe code (obvious I know, but perhaps helpful to the newbies like myself who are not familiar with this element): <iframe width="689" height="478" frameborder="0" src="http://ssbackend-home.blogspot.com" title="SOULSHAKER"> </iframe> Also needed to change the doctype to this transitional one: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. Putting together a webiste and ran into a little problem with internet explorer.. I have an object element which I am using to display another website in, but I would also like to 'overlay' a few images over the top on the object. Works fine in Safari and Firefox, but the image is cut off in internet explorer.. Have a look at the test site here: http://www.shantronix.com/crap/soulshaker/home.html .. you will see a big round image (An oldschool cool looking sticker) which I have placed half over the object. try it in IE and you will see how it is not working as I would like it to.. Any help would be ace..
  9. I'm putting together a website: http://www.shantronix.com/crap/soulshaker/home.html As you will see, I have a window in which I am trying to display an external website - In this particular case it's a blogger page stored on a seperate server.. Works fine on firefox and Safari - But IE won't display the page inside the window at all. I'm thinking because it is not a page from the same server as my page.. Any ideas on how to fix this? Here is my code below, that I have used to display the external html page: <head> <script type="text/javascript"> //<![CDATA[ // written by: Coothead function updateObjectIframe(which){ document.getElementById('one').innerHTML = '<'+'object id="foo" name="foo" type="text/html" data="'+which.href+'"><\/object>'; } //]]> </script> </head> <body> <object type="text/html" data="http://ssbackend-home.blogspot.com/" border="0"></object> </body>
  10. for the sake of anyone wanting to do this, I finally found a solution that works with every browser. Check out this excellent example, and take a look at the code.. http://www.wpdfd.com/editorial/thebox/deadcentre4.html
  11. Hi, i'm building a page, and for once I am trying to avoid using tables completely (old habits die hard), so I'm using all div tags, and it's coming along nicely.. but I'm wondering how I can center my entire page vertically and horizontally with CSS. I'm pretty new to CSS, so baby steps please.. Here's the page: http://www.shantronix.com/test/gui.htm here's my code: code.html
  12. tried that.. background-position: 364px 0px; gets the position correct in IE, but throws out every other browser now.. Is there CSS that I can add that would be IE specific? So in effect, I would have 2 background positions (1 for IE, and another for all other browsers) Thanks for the suggestion anyway. I would guess that this must be a very common problem.
  13. http://www.groovetherapy.com.au/crap/gui.html work in progress.. all help with the above problem appreciated
  14. Hi.. newbie web author here.. making a website that consists of a centerd table with images, placed over a centerd background image. Looks great in every other browser except IE (I was expecting problems with IE).. Basically, either the table or the background image are not centering exactly (only by about a pixel or two), and messing with the look of the page (The images in the table need to meet up exactly with my repeating background image).. wondering what code I should use to fix this problem. Is it in the CSS? Here is my code: <html> <head> <title>gui</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> body { background-image: url(images/gui_02.jpg); margin: 0px auto; background-repeat: repeat-y; background-position: center; } </style> </head> <body bgcolor="#37371D" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="850" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01"> <tr> <td colspan="3"> <img src="images/gui_01.jpg" width="850" height="247" alt=""> </td> </tr> <tr> <td colspan="3"> <table width="70%" border="0" align="center"> <tr> <td> <p>Dummy Text Dummy Text Dummy Text Dummy Text Dummy Text </p> </td> </tr> </table> </td> </tr> <tr> <td> <img src="images/gui_04.jpg" width="128" height="148" alt=""></td> <td> <img src="images/gui_05.jpg" width="594" height="148" alt=""></td> <td> <img src="images/gui_06.jpg" width="128" height="148" alt=""></td> </tr> </table> </body> </html>

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.