Hi,
I have a div tag, nested with many span and div tags inside it.
now i want a regular expression in javascript which will strip the div and the content inside it.
thanks in advance..
Hi
I am trying to do a flex drag and drop. It is very similar to this first example. http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_7.html
The problem is that event.currentTarget.mouseX,mouseY is showing the position where I put the mouse down rather than the position where I had finished dragging.
I am just wondering why this could be? If there is a short answer?
Hi guys, I want to do a Token concatenation, but I want to do this with the content of a variable, not its name. like this.
#define call_function(fun, member) fun##_##number ()
while (i < 10 ) {
call_function(fun, i);
}
but I give fun_number (), I want to give fun_1, fun_2, and so on...
how to do it?
Thanks in advance!!!
How can I replace CHAR with VARCHAR2 in all tables in a schema?
Note: I'm content with a query that returns the ALTER TABLE statements so I can save the script and run it again.
I'm looking for a way to append text to the url with jQuery so that the back button is not broken when a user loads new content with jQuery.
For example, I have a three step form - the first step is (www.xyz.com/form-1). When the user clicks next step, jQuery slides in the next page. I would like that page to be (www.xyz.com/form-2).
I know websites like hypem.com do this, I'm just looking for an elegant way to handle it.
for example. if i want to quickly wrap anything by this in once.
<div class="one">
<div class="two">
anything can be here - content, other html tag etc.
</div>
</div>
In Silverlight an AccordionItem is inside another one . When the inner one is selected, it can not expand its parent more which is already expanded to show its own content.
I tried to get around it by templating but I was unlucky. Does any one has a solution for it [prefer a solution without code]?
Hi
Does anyone know what's the replacement method for FB.CanvasClient.startTimerToSizeToContent() to resize iframe content in the new javascript SDK for Facebook?
Or maybe if there is an alternative technique for achieving the same effect?
Thanks
so the problem is, i have a contenteditable div, with a keyup function binded.
everytime somebody puts a youtube url in it, it has to be replaced by an embedded movie.
i came up with a regex like this :
content.match(/http:\/\/\w{0,3}.?youtube+\.\w{2,3}\/watch\?v=.*?(?=\s)/g);
firefox wil do the replace after a whitespace, but in ie it won't work.
any suggestions?
thnx in advance!
Dear Friends, Can anyone tell me how to store a file in a blackberry simulator.Actually i m using blackberry jde4.6.I created one simple application in that application i created one edit field and one button if we click the button then the content in the file should store as file i don't how to set a path.If u have any idea how to set path to store data please explain.
regards,
s.kumaran.
Scenario:
Local git repo, default master branch
FTP server with content of the repo (non git), synchronized daily with the local repo, master branch
Workflow:
user1 is working on local git repo (git add, working directory clean)
user2 (non git user) changed files directly on the FTP server
How can I import all files changed on FTP to the local git repo and see what has changed?
Hello all, I've created a page that uses jquery to slide from left to right displaying content in the middle of the page, everything around the centre is hidden via "overflow: hidden" which works a charm, until I embedded via the tags a quicktime video, it isn't hidden / it is always visible. I have no idea why this is happening and would love to get help on this!
Cheers in advance!!
http://twitter.com/_naz
http://nazimjamil.com
How important is inter-linking for seo. This site has 800k pages indexed on Google, but it's all duplicate content from other celebrity sites. I'm wondering if they're inter-linking has anything to do with this. www.celebrifi.com
Any ideas?
I have a website which works fine in all browsers except in IE6. The pages content is inside a div loaded with a background image. The page layout gets very nasty and image does not load when the page is opened for first time, but when the same page is opened for the second time and any subsequent times, then it loads perfectly. This scenario is with every page in the site.
Please help.
For some reason the background on my website is not loading fully. Randomly, not all the time, the website will load with white rectangles around the content of the website. Check out this screenshot to get a better picture, or visit www.thinkitpostit.com to see if it randomly happens for you. Thanks in advance!
Hi guys,
I hope you can help me with this problem :). I'm looking for a script which allows me to display a dynamic bubble on a link hover by jQuery.
I would to to define a hidden div with the content and display it on a hover of certain link (always in the middle of that link and it should disappear when you leave the link OR the box with your cursor).
Something like this (sorry for such poor illustration :D):
Thanks a lot for your help!
Tagged PDFs allow for the easy reflow and accessibility of PDFs. It seems like this would be a natural use case for using LaTeX, which advocates content over style. But as far as I can tell, there is no way to create a tagged PDF with MikTeX 2.8.
Does anybody know of any tips, tricks or techniques to get a tagged PDF through LaTeX without resorting to the commercial version of Adobe Acrobat?
i need php script running on my server frequently request a web page
i thought of php header, with meta tag (refresh) but that's will not success, because header will redirect me once to the url then the refresh will stop.
<?php
header('Location: http://www.example.com/');
?>
<html>
<META HTTP-EQUIV=Refresh CONTENT="60">
</html>
any suggestion please;
Hello everyone,
I am using SQL Server 2008 Enterprise and using the new Merge statement. From my experiment, I find source is always read only (table content not modified, i.e. no record is deleted/inserted/updated)? Is that correct understanding?
thanks in advance,
George
Hello
Is it possible to create a footer div that sits at the bottom of a site regardless of how much information is present in the middle?
Currently the div I have is positioned depending on how much content i have in the body.
See also:
http://stackoverflow.com/questions/42294/how-do-you-get-the-footer-to-stay-at-the-bottom-of-a-web-page
Where can I find sample *X*HTML 5 pages? I mainly want to know if it is possible to mix and match XHTML 5 with other XML languages just like XHTML 1 or not. For example is something like this valid in XHTML 5?
<!DOCTYPE html PUBLIC "WHAT SHOULD BE HERE?"
"WHAT SHOULD BE HERE?">
<html xmlns="WHAT SHOULD BE HERE?"
xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
<title><ui:insert name="title">Default title</ui:insert></title>
<link rel="stylesheet" type="text/css" href="./css/main.css"/>
</head>
<body>
<div id="header">
<ui:insert name="header">
<ui:include src="header.xhtml"/>
</ui:insert>
</div>
<div id="left">
<ui:insert name="navigation" >
<ui:include src="navigation.xhtml"/>
</ui:insert>
</div>
<div id="center">
<br />
<span class="titleText"> <ui:insert name="title" /> </span>
<hr />
<ui:insert name="content">
<div>
<ui:include src="content.xhtml"/>
</div>
</ui:insert>
</div>
<div id="right">
<ui:insert name="news">
<ui:include src="news.xhtml"/>
</ui:insert>
</div>
<div id="footer">
<ui:insert name="footer">
<ui:include src="footer.xhtml"/>
</ui:insert>
</div>
</body>
</html>
Thanks in advance.
I have requirement, where a user can choose any border for the content he posted in the editor. Is there any sample available to create borders in YUI Rich Text Editor?
Any help is appreciated.
Thanks,
I've got a program that outputs to a file. I'm running it from an MSBuild project. I'd like this output to be written to StdOut, so that it can be picked up by our build agent (TeamCity).
How do I get MSBuild to dump the content of a file to the output?
In my application i want to add new contacts to my application's database is there any way to use contact API.
OR
Is there any to use Contact Content provider to store application's contact info instead of using separate Database