jQuery link manipulation -


The query that I am trying to use, is quite specific, firstly accept the sick not me Know how to write in JQuery, I manipulate more hacks / existing scripts, but I'll learn some time, but I need to fix an existing problem.

Actually I have a simple tab layout that swaps the content, my issue is that the content I swap is generated from CMS, so linking you within #screen will give you a separate page What I would like to do is either add an ARP within the #screen div or some of it with an IFrame, but the ID is possible that it may prefer to stay away from it. Sorry if my explanation is not clear code below.

  & lt; Script type = "text / javascript" src = "https://ajax.googleapis.com/ajax/libs/jquery/ 1.7.2 / jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Style & gt; .content {display: none;} .tab {cursor: pointer; Width: 20%; Swim left; Text-align: center; Color: #fff; Padding: 10px;} #screen {clear: both; Padding: 20px 0 0 0;} & lt; / Style & gt; & Lt; Script & gt; $ (Document) .ready (function () {var $ content1 = $ ('content') first () .clone (); $ content1.css ("display", "block"); $ ('div # $ Content1); $ (". Tab") Live ("click", function () {var $ content = $ (this) .next ('div.content') .clone (); $ Content.css (" $ ('Div # screen'); $ html ($ content);})}}; & lt; / script & gt; div class = "tab" & gt; tab Title 

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -