javascript - Having dynamic content while keeping old static page -
i have list of videos title. each goes page video in question , information (player, description, discussion, ...).
<div id="video-list"> <a href="/video/title-1">title 1</a><br /> <a href="/video/title-2">title 2</a><br /> <a href="/video/title-3">title 3</a><br /> </div>
i want make things little more dynamic javascript/jquery. screen split in two, video list on left , information on right.
<a href="javascript: playvideo(123);">title 1</a>
but still want keep old link people without javascript , search engine crawler.
is idea have like
<a href="/video/title-1" videoid="123">title 1</a>
and use jquery loop anchor videoid , replace href?
(server side asp.net mvc, javascript , static side work)
you can use framesets, works every browser. old way give u u want doesnt depends on javascript
<frameset cols="25%,*"> <frame src="frame_a.htm"> <frame src="frame_b.htm"> </frameset>
for reference frameset
Comments
Post a Comment