SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML editor with good find/replace function..

    Hello,

    I'm in search of an HTML editor (or any type of program for that matter) which can solve my problem. I'm setting up my thumbnail galleries using the following format:

    <td valign="center" align="center" width="25%"><A HREF="http://www.website.com/pics/set_001_pic_001.jpg" onClick="return enlarge('http://www.website.com/pics/set_001_pic_001.jpg',event)">
    <IMG SRC="http://www.website.com/pics/tn/tn_set_001_pic_001.jpg" border="0" width="100" height="75" alt="set_001_pic_001.jpg"></A>

    I'm using ThumbsPlus to generate the basic gallery HTML code which spits out in this format:

    <td valign="center" align="center" width="25%"><A HREF="http://www.website.com/pics/set_001_pic_001.jpg">
    <IMG SRC="http://www.website.com/pics/tn/tn_set_001_pic_001.jpg" border="0" width="100" height="75" alt="set_001_pic_001.jpg"></A>

    My problem is in getting the * onClick="return enlarge('http://www.website.com/pics/set_001_pic_001.jpg',event)"> * into each link url.

    I'm not about to enter in that code by hand for each link, so I'm looking for some program that has a find/replace type of function which will allow me to simply enter in the string I want to add (with a wildcard character which will automatically increase the pic and set numbers by 1) and where I want it added.

    If anyone knows a program which can do this, please respond!

    Thanks,
    Jason

  2. #2
    Forum Mathematics Geek Agent Dwarf's Avatar
    Join Date
    Aug 2002
    Location
    Commonwealth of Pennsylvania
    Posts
    232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HTML-Kit accepts regular expressions.

  3. #3
    SitePoint Member
    Join Date
    Sep 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    lol

    I just spent 3 hours reading about regular expressions. All I wanna do is increment the picture names by 1, and I've never been more confused :\.


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
  •