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

Topics I've Started

  1. window.frames ot working in IE

    19 May 2012 - 03:46 PM

    any ideas on how i can mage the below javascript worki in IE it works in all non IE Browsers

     function changeHeading(heading) {
    	 var range = window.frames['textEditor'].getSelection().getRangeAt(0);
         var newNode = document.createElement(heading);
         range.surroundContents(newNode);
    }


    Thank you
  2. javascript replace

    19 May 2012 - 10:00 AM

    Hi all, i need to replace selected text in iframe a wysiwyg i have it working but all the text in the wysiwyg is replaced
    var str=reptext; 
    var n=str.replace(reptext,"<h1>"+reptext+"<h1>");
    window.frames['textEditor'].document.body.innerHTML=n;
    

    i am trying to make a wysiwyg and the document.execCommand("Heading", false, heading); only works in FF
    is there away i can replace just the selected text

    Thank you in advance
  3. getSelection

    18 May 2012 - 05:21 PM

    Hi All, i need to find text that is hightlighted

    using getSelection i can find out the highlighted text and alert the text that is highlighted

    is there a way of doing this if the text is in a iframe with design mode on

    Thank you in advance
  4. javascript loop table data

    18 May 2012 - 09:23 AM

    Hi All, I am having a problem inserting <td> in a table with a loop
    this is what i want to achieve but to do it with a loop rows and c are from text fields
    if(rows==1)
    {
    var x="<tr>" + c + "</tr>"; 
    }
    if(rows==2)
    {
    var x="<tr>" + c + "</tr><tr>" + c + "</tr>"; 
    }
    if(rows==3)
    {
    var x="<tr>" + c + "</tr><tr>" + c + "</tr><tr>" + c + "</tr>"; 
    }
    


    Thank you for any help
  5. execCommand('InsertImage', false, myvar);

    16 May 2012 - 03:00 PM

    Hi All, I am trying to make a cross browser wysiwyg editor, i have a problem adding attributes to images

    wysiwyg.document.execCommand('InsertImage', false, myvar);


    I can upload an image but have no idea how to add alt tag any ideas

    Thank you

Friends

Comments

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