Jump to content

karldesign

Members
  • Posts

    76
  • Joined

  • Last visited

    Never

About karldesign

  • Birthday 05/23/1986

Contact Methods

  • Website URL
    http://www.zero1interactive.co.uk

Profile Information

  • Gender
    Male
  • Location
    Manchester, UK

karldesign's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi all, Does anyone know how to exclude all pages that end with "?value=true" in a robots.txt file? I thought the following would work, but can't seem to validate it: User-agent: * Disallow: /*?value=true Any help would be amazing! Cheers, Karl
  2. Hi all, I have some JavaScript code that uses an external JS file. Is it possible to run through a function which initiates this JS file after performing the function, ie: function someFunction(){ // initiateExternal.js }
  3. Anybody got any thoughts on this subject?
  4. Hey all, I have a website with a background image in the body. Is there a way of starting the image 300px down from top, using repeat-y? It needs to be blank until 300px, where it will loop as normal? Thanks.
  5. Hey, I have a Flash website that also has a link to a text version (PHP/html)... I originally had the text version redirect to the Flash page if a session is not set. This was to ensure that if it came from Google or such engines, it would take you to Flash version, unless the user wants to see the text version (they would click html link at footer). Will this work correctly? Or will Google not be able to register sessions? If not, how can I develop a solution to achieve this? Thanks
  6. I have the following code: $sql_query = mysql_query("SELECT * FROM tbl_name"); while($arr = mysql_fetch_array($sql_query)){ // do something } // further down the page while($arr = mysql_fetch_array($sql_query)){ // do something again } The first statement works correct, yet the second doesn't output. Why is this? Thanks
  7. They should all be floated left, except the right column
  8. I understand the problem that IE6 and lower does not read the max-width property correctly. That is why I have been using the following code as recommended overwhelmingly online: #div_name{min-width:760px; max-width:955px; width:expression(document.body.clientWidth < 762? "760px" : document.body.clientWidth > 957? "955px" : "auto");} This gives me the max-width functionality in IE6. However, I have come unstuck... If I have two columns, and I would like the right column fixed width 210px and the left column fluid width, the hack no longer works. See the code below: /* css */ #left{margin:0; padding:0; float:left; background:#CCC; max-width:710px; min-width:760px; max-width:955px; width:expression(document.body.clientWidth < 762? "500px" : document.body.clientWidth > 957? "710px" : "auto"); height:250px;} #right{margin:0 0 0 10px; padding:0 0 0 10px; float:right; width:199px; height:250px; border-left:1px solid #CCC;} /* html */ <div id="left">content</div><div id="right">content</div> The column does not scale and pushes the fixed column below. Does anyone have a solution to this, and is it because it is nested within another div, using float properties?
  9. if you want it to work in opera, not that many people develop that far across browsers, you will need to do, margin-top:0; margin-right:auto; margin-bottom:0; margin-left:0; Some opera browsers do not read the shorthand very well. Not too sure about newer versions.
  10. I have a single page that has smooth scrolling anchor links... this all works super! What I would like, however, is to know how to scroll to anchor based on a $_GET[] value. So if $_GET['a'] takes you to #a on the page... I want this to be smooth scrolling to. What is the best way to go about doing this?
  11. If this helps, I have found out that there is a gmdate() function, identical to the date()... except it doesn't seem to take into account daylight savings time... I'll keep looking for a solution without having to custom build any functions.
  12. Hello, Is there a way of forcing the date() function to show GMT time, instead of the server time? Cheers
  13. Hey, I'm trying to scrape the following RSS file: $html = file_get_contents("http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/football/rss.xml"); What I want is the <title></title> and <link></link> contents to be returned from the code content. How would I go about doing this?
  14. Yes this is true... I don't want to limit. I tried with the LIMIT 5,* and that did not work. And I didn't want to return the first five rows for the array, so does anyone know a solution?
×
×
  • 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.