A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Its a Big Big Mistake !

  1. #1
    Senior Member da_hammer's Avatar
    Join Date
    Jul 2003
    Location
    Ritchie Street.
    Posts
    294

    Its a Big Big Mistake !

    Hi,

    Am supervising a site, which should be scalable by linkwise...

    For example ... if there are 5 links right now, it might scale upto 15 links next year, this i didn't know when i took the project, but right now i understood, its scaling / extending in the future. there are about 300 odd pages in the site..

    now, i really understand the XML driven links, which can be updated / scaled / extended from a single file even for a single link which adds thereafter...

    Now, i need someone point me in the right direction ... how i can accomplish this.

    The Scenario is Like this, the so called scalable menu / link is sitting here right there in a cell, the code as follows:
    ----------------------------------

    <td width="11%"><div align="right"><a href="../products/critical-care/index.htm"><img src="images/arrow_right.jpg" alt="" width="4" height="8" border="0" /></a></div></td>
    <td width="89%"><div align="left"><a href="../products/critical-care/index.htm" class="productlinks">Critical Care </a></div></td>
    </tr>
    <tr>
    <td><div align="right"><a href="../products/diagnostics/index.htm"><img src="images/arrow_right.jpg" alt="" width="4" height="8" border="0" /></a></div></td>
    <td><div align="left"><a href="../products/diagnostics/index.htm" class="productlinks">Diagnostics</a></div></td>
    </tr>
    <tr>
    <td><div align="right"><a href="../products/imaging/index.htm"><img src="images/arrow_right.jpg" alt="" width="4" height="8" border="0" /></a></div></td>
    <td><div align="left"><a href="../products/imaging/index.htm" class="productlinks">Imaging</a></div></td>
    </tr>
    <tr>
    <td><div align="right"><a href="../products/renal-care/index.htm"><img src="images/arrow_right.jpg" alt="" width="4" height="8" border="0" /></a></div></td>
    <td><div align="left"><a href="../products/renal-care/index.htm" class="productlinks">Renal Care </a></div></td>
    </tr>
    <tr>
    <td><div align="right"><a href="../products/surgical-technologies/index.htm"><img src="images/arrow_right.jpg" alt="" width="4" height="8" border="0" /></a></div></td>
    <td><div align="left"><a href="../products/surgical-technologies/index.htm" class="productlinks">Surgical Technologies </a></div></td>
    </tr>
    <tr>
    <td><div align="right"><a href="../products/trivitech/index.htm"><img src="images/arrow_right.jpg" alt="" width="4" height="8" border="0" /></a></div></td>

    ----------------------------------------------------------

    Instead of this all long crap, why i can't introduce a dynamic link set which can be updated / added with more links whenever neccessary with a single dynamic XML file ..... ?

    Can someone point me in the right direction ?

    Thanks in advance ...!
    hammer.

  2. #2
    Senior Member
    Join Date
    May 2007
    Posts
    266
    The simply way to do this is with server side includes.
    See link and also google search. Using this method, when you add a link to the menu it will update all pages that have the menu.

  3. #3
    Senior Member da_hammer's Avatar
    Join Date
    Jul 2003
    Location
    Ritchie Street.
    Posts
    294
    Wait, i got a doubt, assume am using CS3 Dreamweaver, with this so called latest addition of Spry Framework in CS3 ... can i accomplish what am intend to do ...?

    Thanks in advance!
    hammer

  4. #4
    Senior Member
    Join Date
    May 2007
    Posts
    266
    I haven't tried the new CS3 yet. If that works, fine. Irregardless it doesn't take the place of includes. Whichever you use it will/should enable you to make one change and update all your pages.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center