Want to change the reference of .html files

Jatin Kumar

Jatin Kumar

@jatin-SWWqiE Oct 26, 2024
i want to change reference of css from server to a CDN ,and here is too many pages ,i don't want to go one by one ,is there any idea how to change all of them once

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Anoop Kumar

    Anoop Kumar

    @anoop-kumar-GDGRCn Apr 1, 2015

    That's why it is good idea to use tiles/framing. Use a main html file and all other pages will be included into this. If you want to change the CSS/js references you just have to change main html file.
  • Jatin Kumar

    Jatin Kumar

    @jatin-SWWqiE Apr 1, 2015

    Anoop Kumar
    That's why it is good idea to use tiles/framing. Use a main html file and all other pages will be included into this. If you want to change the CSS/js references you just have to change main html file.
    Actually i use same practice as you have mentioned,but in this case i have downloaded a website for offline use,where i am facing this problem.
  • Anoop Kumar

    Anoop Kumar

    @anoop-kumar-GDGRCn Apr 1, 2015

    Looks like you need replace text across files.
    try this: #-Link-Snipped-#
  • Jatin Kumar

    Jatin Kumar

    @jatin-SWWqiE Apr 1, 2015

    thanks ,but there is a shortcut for it in visual studio ,i am going for that 😀