Web Design Forum: ELITE - Viewing Profile - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting

ELITE's Profile User Rating: *****

Reputation: 0 Neutral
Group:
Members
Active Posts:
776 (0.51 per day)
Joined:
30-March 08
Profile Views:
7,932
Last Active:
User is offline Yesterday, 10:41 AM
Currently:
Offline

My Information

Member Title:
Expert
Age:
40 years old
Birthday:
March 3, 1972
Gender:
Male Male
Location:
stoke on trent
Interests:
web design php css mysql shooting martial arts

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://www.seobacklinkbuilders.co.uk/

Users Experience

Experience:
Intermediate
Area of Expertise:
Coder

Latest Visitors

Posts I've Made

  1. In Topic: window.frames ot working in IE

    20 May 2012 - 06:45 PM

    I have a WYSIWYG working in all browsers including adding h tags

    when using the execCommand for headers it only works in Firefox so i needed a way around this

    http://quirksmode.or...xecCommand.html

    code below if it helps some one

    function changeHeading(heading) {
    
      if($.browser.msie && $.browser.version == 7 || $.browser.version == 8 || $.browser.version == 9)
      {
        Selection = window.frames['textEditor'].document.selection.createRange().htmlText;
        window.frames['textEditor'].document.selection.createRange().pasteHTML("<"+heading+">"+Selection+"</"+heading+">")
      }
      else
          {
    	    var range = window.frames['textEditor'].getSelection().getRangeAt(0);
            var newNode = document.createElement(heading);
            range.surroundContents(newNode);
          }
    }
    


    Thank you
  2. In Topic: window.frames ot working in IE

    20 May 2012 - 01:02 PM

    it seems ie does not support range although this can be worked arround, the problem seems to be finding the content of the iframe in IE Browsers

    the following will not work in Iframes in IE

    <iframe name="textEditor" id="textEditor" width="908" height="400"></iframe>
    
    $("#textEditor").contents().find('body').html();
  3. In Topic: javascript loop table data

    19 May 2012 - 04:27 PM

    sorry submited twice
  4. In Topic: javascript loop table data

    19 May 2012 - 04:27 PM

    Hi Sorry for the confusion its working fine but i am new to javscript so i am sure there is a better way of doing this

    Thank you
  5. In Topic: Internet Explorer alignment problem

    19 May 2012 - 03:43 PM

    I would start by aligning the website in the centre

    http://www.webdesign...site-using-css/

    then take it from there

Friends

Comments

ELITE has no profile comments yet. Why not say hello?