News Image Presentation compiled by UL and Li without flash
When you use focus.swf to click a news image under IE8, the display window does not jump to the new page.
:
Front-end code:
<% @ Page Language = "C #" autoeventwireup = "true" codefile = "IMG. aspx. cs" inherits = "test _ IMG" %> <! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML xmlns = "http://www.w3.org/1999/xhtml">
Background code:
Using system; using system. collections. generic; using system. LINQ; using system. web; using system. web. ui; using system. web. UI. webcontrols; using system. data; public partial class test _ IMG: system. web. UI. page {public datatable DT; Public String URL; Public String [,] valueurl = new string [2, 2]; protected void page_load (Object sender, eventargs E) {dt = new datatable (); DT. columns. add ("url"); DT. c Olumns. Add ("text"); For (INT I = 0; I <2; I ++) {valueurl [I, 0] = "http://www.sohu.com? Uid = "+ I; valueurl [I, 1] =" I love you very much "+ (I + 1); DT. rows. add (valueurl); DT. rows [I] ["url"] = valueurl [I, 0]; DT. rows [I] ["text"] = valueurl [I, 1] ;}}