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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -