jQuery AJAX returned HTML data anchor tags not clickable in Firefox -


the problem: anchor tagged text in returned html not clickable in firefox (no "hand cursor", , no action). ie 10 seems handle fine.

the setup: using jquery ajax call php page grabs html content, returns div id="slideshowc" in browsed page. datatype=html. when alert returned html, same called page.

the ajax:

function populatecontent(i,w,h){     var url = "slideshow.php?ss="+sscontent[i]+"&i="+i+"&width="+w+"&height="+h;     $.ajax({         type: "get",         url: url,         async: true,         datatype: 'html',         success: function(data) {             $('#slideshowc').html(data);         },         error: function (){             //alert("error: " + url);         }     });     return true; } 

the html displays properly. colors , text correct, , color of hyperlinked text looks correct, blue color, underline. can see hyperlink. using firefox, when mouse on link text, cursor not change indicate text hyperlinked.

here sample html chunk, returned remote page (same domain, same site folder):

<!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"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>slideshow 1</title> <style> body{ margin:0; } .ssbox{     background-color:#ccc;     color:#000;     width:280px;     height:280px;     padding:10px;  }  .ssbox h1{      margin:0px;   } </style> </head> <body> <div class="ssbox"> <h1>the technology</h1> <p>see <a href="technology.php">technology</a>.</p> </div> </body> </html> 

the link on fourth line bottom. renders html div container fine, said, not clickable in firefox. not seeing obvious? leaving important information out?

important update: mentioned in comment below, don't think problem has javascript, jquery, ajax, etc. when hard code html in main page, link still not clickable:

 <div id="slideshowc" class="textbox" ><?php include("html/slideshow/slidecontent1.html"); ?></div> 

i'm going have study page html / stylesheet see what's going on.

update: blither , blah! per twil's reply, had transparent "mask" div covering text div. removed mask div, , voila, works. if there redeeming quality question, it's had ask pointers in direction. thanks, all.

the problem had nothing javascript, jquery, or ajax. going on had transparent "mask" div covering slideshowc div. html output layer covered transparency layer. once removed transparency layer, links were, of course, clickable.

still odd ie lets me click through div layers. but, ah well, not important @ point.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -