dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Mr J

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    3,239

    Do you mean something like this example ...

    Do you mean something like this example



    <script type=text/Javascript>

    function test(){

    cont=document.getElementById("container")
    contObj=document.getElementById("container_object")
  2. How about something like this?

    How about something like this?



    <script type="text/javascript">

    a=false

    function test(b){
  3. Replies
    12
    Views
    3,317

    If you are simply replacing the contents of the...

    If you are simply replacing the contents of the current window with the frameset just use a link as normal

    <a href="framesetpage.htm">Frameset</a>

    To target an anchor within that frameset may...
  4. Replies
    6
    Views
    926

    Give it a try this way

    Give it a try this way


    <script type="text/javascript">

    var pics = new Array(
    [1,7,'Summer Beckett prays with a new convert'],
    [2,7,'Bethany Airgood is whole-heartily seeking the LORD'],...
  5. Thread: Auto expand text

    by Mr J
    Replies
    2
    Views
    2,040

    Here's one possibility ...

    Here's one possibility




    <HTML>
    <HEAD>
    <TITLE>Document Title</TITLE>

    <script type="text/javascript">
  6. Replies
    3
    Views
    1,696

    There are two possibilities here; Inline ...

    There are two possibilities here;

    Inline


    <div class="miblock" onmouseover="this.style.backgroundImage='url(gradient9.jpg)'"></div>

    or change the class name
  7. Replies
    3
    Views
    913

    Try something like this ...

    Try something like this


    <HTML>
    <HEAD>
    <TITLE>Document Title</TITLE>

    <script type="text/javascript">
    <!--
    lastObj = ""
  8. Replies
    4
    Views
    2,041

    You have not stated a display value for the divs...

    You have not stated a display value for the divs that are going to toggle so the first click returns a value of nothing.

    Try your script this way


    function reaveler(ID){
    ...
  9. Replies
    4
    Views
    2,041

    It could be how you have initially assign the...

    It could be how you have initially assign the display property, can you post your code?
  10. The images and its text are stored in the array ...

    The images and its text are stored in the array


    imgArray = [
    ['pix1-sm.gif','information', 'The beautiful mountains'],
    ['pix2-sm.gif','interference','The crystal clear lake'],
    ...
  11. Replies
    6
    Views
    1,117

    Replace these lines if (note!=null ||...

    Replace these lines



    if (note!=null || note!="")
    {newwindow.document.writeln('<br \/><script type="text\/javascript">document.write('note');<\/script><br>')};

    With this
  12. Replies
    7
    Views
    11,349

    Try it this way function PopWin(urlName) { ...

    Try it this way


    function PopWin(urlName) {

    var popup = window.open(urlName, "",'width=100,height=100');

    setTimeout(
    function(){
    popup.close()
  13. Replies
    5
    Views
    10,352

    ID's must be unique therefore you cannot have 2...

    ID's must be unique therefore you cannot have 2 elements named test1.

    I also noticed that in the div you were trying you also have an img tag, this would hide the background image in the div
    ...
  14. Replies
    6
    Views
    1,117

    Can you post a link to your page?

    Can you post a link to your page?
  15. Replies
    5
    Views
    10,352

    Give your image tag an ID and replace this line...

    Give your image tag an ID and replace this line in the code

    document.body.style.background = "url("+img+")";

    with

    document.getElementById("imgID").src= "url("+img+")";

    where imgID is...
  16. You could give the cell in the left column an ID...

    You could give the cell in the left column an ID and then use

    offsetHeight to get the height

    currentHeight = document.getElementById(cellID).offsetHeight
  17. Replies
    7
    Views
    11,349

    Give this a try function PopWin(urlName) { ...

    Give this a try


    function PopWin(urlName) {

    var popup = window.open(urlName, "",'width=100,height=100');

    setTimeout(function(){popup.close()},2000)
    }
  18. Replies
    4
    Views
    3,407

    You could use the query string to pass the anchor...

    You could use the query string to pass the anchor name and div id



    <a href="page1.htm?hotdog&divname">Hotdog</a>

    Then in page 1


    onload=function(){
  19. Replies
    4
    Views
    9,130

    See if this is any help ...

    See if this is any help

    www.huntingground.freeserve.co.uk/webplus/iframes/iframe_trans.htm
  20. Do you mean something like this? [CODE ...

    Do you mean something like this?

    [CODE
    <html>
    <head>

    <script type="text/javascript">

    function changeSelection(indexValue){
  21. Replies
    5
    Views
    718

    A slight correct is required function...

    A slight correct is required


    function getRadio(){
    var selected = "none";

    if(document.forms["check"].elements["sex"][0].checked == true){
    selected = "male";
    }
    else if...
  22. Replies
    4
    Views
    1,360

    Might be one here to suit your needs ...

    Might be one here to suit your needs

    www.huntingground.freeserve.co.uk/imagery/imgnav.htm
  23. Replies
    1
    Views
    1,003

    Here's a curtain effect, sort off ...

    Here's a curtain effect, sort off



    <HTML>
    <HEAD>
    <TITLE>Document Title</TITLE>

    <script type="text/javascript">
    <!--
  24. Replies
    1
    Views
    627

    Something on these lines maybe function...

    Something on these lines maybe


    function chkColor(id){

    var el = document.getElementById(id)

    if(document.uniqueID && el.currentStyle){
    textColor=el.currentStyle.color
    }
  25. Replies
    2
    Views
    1,559

    The s should not be in ...

    The s should not be in

    onclick="copy(document.getElementsById('posting_email'));"
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles