Results 1 to 6 of 6

Thread: cursor turn to hand problem...

  1. #1
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Arrow cursor turn to hand problem...

    Hi,

    I'm trying to edit .html file with MS-WORD.

    It’s a file that supposed to be on my website,
    I'm editing it's content with MS-WORD, and save it as .html.

    I've loaded an image, and made it a link. So far so good…..

    I want the cursor to change to "hand" while the mouse is on the image(link),
    but I cant find the right place to insert the " style="cursorointer;cursor:hand" "
    or whatever the right script is…..


    the code of the link-image ( from the MS-WORD html editor ) is:

    Code:
    <p class=MsoNormal dir=RTL><span lang=HE>&nbsp;<a
    href="http://www.mbcv.co.il/ArticleB.aspx?ArticleName=276" target="_blank"><span
    lang=EN-US dir=LTR style='color:windowtext;text-decoration:none;text-underline:
    none'><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"
     o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
     stroked="f">
     <v:stroke joinstyle="miter"/>
     <v:formulas>
      <v:f eqn="if lineDrawn pixelLineWidth 0"/>
      <v:f eqn="sum @0 1 0"/>
      <v:f eqn="sum 0 0 @1"/>
      <v:f eqn="prod @2 1 2"/>
      <v:f eqn="prod @3 21600 pixelWidth"/>
      <v:f eqn="prod @3 21600 pixelHeight"/>
      <v:f eqn="sum @0 0 1"/>
      <v:f eqn="prod @6 1 2"/>
      <v:f eqn="prod @7 21600 pixelWidth"/>
      <v:f eqn="sum @8 21600 0"/>
      <v:f eqn="prod @7 21600 pixelHeight"/>
      <v:f eqn="sum @10 21600 0"/>
     </v:formulas>
     <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
     <o:lock v:ext="edit" aspectratio="t"/>
    </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:390pt;
     height:31.5pt'>
     <v:imagedata src="MBCV_Board2.files/image001.gif" o:title="DIY"/>
     <o:lock v:ext="edit" cropping="t"/>
    </v:shape><![endif]--><![if !vml]><img border=0 width=520 height=42
    src="MBCV_Board2.files/image001.gif" v:shapes="_x0000_i1025"><![endif]></span></a><o:p></o:p></span></p>


    can anyone guide me how to create the "effect" of the cursor
    showing a "hand" over the image?

    Thanks

    Niv
    Last edited by jscheuer1; 06-19-2008 at 11:31 AM. Reason: format code

  2. #2
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Arrow Additional: a link to the file

    I'm adding a link to an EXAMPLE file:

    http://www.mbcv.co.il/Upload/MBCV_Board_TEST2.html

    dont be alarmed if you dont understand a word - ITS IN HEBREW.

    the example .gif image is IN ENGLISH though.

    the image : " this is an example .gif image " is a link to
    http://www.mbcv.co.il/ArticleB.aspx?ArticleName=276

    its different from the code in the previous post, but the problem is the same...

    i want the cursor to show a "hand" on the image-link...

    thanks

    Niv

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Wow....

    Niv, first of all...I'd suggest Googling (or searching the forums here, actually) in regards to WYSIWYG editors. I don't usually recommend using them because I find hand coding to be the best route -- but a WYSIWYG is 10,000 times better than using MS Word for HTML output.

    From your first post, this is the code you should be using:

    Code:
    <a href="http://www.mbcv.co.il/ArticleB.aspx?ArticleName=276" target="_blank" style="cursor:pointer;">
       <img border=0 width=520 height=42 src="MBCV_Board2.files/image001.gif" v:shapes="_x0000_i1025">
    </a>
    All of that junk reduces to that functional HTML. But if you want to continue to use that markup, add your style to the <a> tag as I've done above.

  4. The Following User Says Thank You to Medyman For This Useful Post:

    Niv Hamagniv (06-18-2008)

  5. #4
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Arrow

    Hi,

    I've done that, but After Saving, the editor "rewrote" back to "normal"

    Maybe another way......??

    Thanks


    Niv

  6. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by Niv Hamagniv View Post
    Hi,

    I've done that, but After Saving, the editor "rewrote" back to "normal"

    Maybe another way......??

    Thanks


    Niv
    Are you resaving in Word? It probably doesn't recognize that code so it reverts back to it's default.

    Honestly, you should look into alternate software to edit your HTML. MS Word is NOT a HTML editor.

    This thread has some good recommendations on other software (commercial and free) that you can use that will yield better results for you.

  7. The Following User Says Thank You to Medyman For This Useful Post:

    Niv Hamagniv (06-19-2008)

  8. #6
    Join Date
    Apr 2008
    Posts
    19
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    thank you for the information.

    on my website i'm using the fck editor.

    I'm editing only this particular page ( which is a sort of a jobAdds-board ): http://www.mbcv.co.il/Upload/MBCV_Board_TEST2.html

    with WORD, because of the inconvenience to edit all those grey tables with the fck editor.

    the "HTML editing" part is minor...
    ( actualy, the "hand" issue is the first "edit try".....).

    I'll try those WYSIWYG editors.....

    thanks again

    Niv

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •