Search Result

Collapse
2 results in 0.0036 seconds.
Keywords
Members
Tags
viewport
  •  

  • Jenny Song
    started a topic how to change src value in javascript?

    how to change src value in javascript?

    I want to change the advertisement url for different browser/device viewport width. So far, I found a code to detect viewport width, I need detailed help to change the url. Thanks in advance!
    This is the code for the viewport width:
    Code:
    var viewportwidth;
     if (typeof window.innerWidth != 'undefined')
     {
          viewportwidth = window.innerWidth
     }
     else if (typeof document.documentElement != 'undefined'
    ...
    See more | Go to post

  • jenncita
    started a topic Alternative to embedding HTML with <OBJECT>?

    Alternative to embedding HTML with <OBJECT>?

    I'm a proficient, standards-conscious HTML/CSS coder who is in over her head!

    Here's my dilemma. I've got a page with some boilerplate text at the top and a "portfolio" area that extends beyond the fold. I need a coding strategy that would allow visitors to navigate the "pages" of the portfolio without forcing them back to the top of the page with every click.

    There are probably several ways to do this,...
    See more | Go to post
Working...