tags

Fake "user initiated" <audio> tag on iPad

I know that Apple's docs say that an mp3 within an <audio> tag on iPhone OS can't be played without user intervention (they cite bandwidth concerns, totally reasonable). However, has anyone succeeded in faking a user action to play the audio? Perhaps faking events to off screen native audio controls with JavaScript? I'm using jPlayer rig...

svn: default name for a tag when name is not important?

I need to tag the current state of my source tree in svn. My problem is I don't care what the name is, I just need to mark the current revision in an immutable* manner. (*subject to malicious behavior) What's the best way to do this? branches/ tags/ ??? trunk/ should ??? be the date, an incrementing sequence, the repository rev #...

Any disadvantages to this tagging approach

I have a table of tags ID tag --- ------ 1 tagt 2 tagb 3 tagz 4 tagn In my items table, I'm using those tags in serialized format, comma delimited ID field1 tags ---- ------ ----- 1 value1 tagt,tagb 2 value2 tagb 3 value3 tagb,tagn 4 ...

Branching from a Tag

I'm seeking opinions here. The following may be considered either an SVN-specific question, or a more general version control question. If the sources of a project are to be branched at a point corresponding to a release, perhaps for maintenance work, is it preferable to: (a) branch from the tag, or (b) branch from the node (e.g. on t...

Want to show <embed> and <object> tags from YUI editor as a text rather then a video.

I am using YUI rich text editor on my website (php/mysql), so that a user may enter textual matter/articles through it. But if a user copies and paste some embed code in the textarea, from any video sites like youtube, it should get saved as a text block and not as a playing video when showing the text content on the browser. Now YUI aut...

How can I initialize an ActiveX control from a URL?

I have an MFC ActiveX control embedded in a web page. Some of the parameters for this control are very large. I don't know what these values will be at compile time, but I do know that once retrieved, they will almost certainly never change. Currently, I embed the parameters like so: <object name="MyActiveX"> <param name="param" va...

MFC : IHTMLElement how to remove an html element...

Hi all, I have a dialog which has a web control... and with it I add elements using the put_innerHTML method of the class IHTMLElement. How do I delete elements though? I can't seem to find the method for it. Thanks... ...

how to retrieve largest value from a particular column in cassandra ?

how can i retrieve largest value from a particular column in Cassandra ? i am storing tag name as name and number of clicks as value in Cassandra. Now i need to find out what are the most popular tags(based on the click)? Please Help me example : supercolumn : movies columnname : "matrix" value : 10(number of clicks) supercolumn ...

Finding An image tag using the alt text

I would like to know if it was possible using Javascript to find an image tag by its alt text. For instance I have this tag: <img src="Myimage.jpg" alt="Myimage"> would there be a way to obtain the tag by looking for the "Myimage" alt attribute? ...

How can I implement an "interesting tags" feature like that on Stack Overflow?

Check my other question with bounty: http://stackoverflow.com/questions/3436287/finding-similar-number-patterns-in-table I'm trying to implement an Interesting Tags feature. For reference, this is how it works on SO: I add into the "interesting" list my interested tags (like php, mysql, jquery and so on). Then, if any of the display...

Is there an intelligent PHP Emacs tagging solution?

I want to navigate to a member declaration under the point. Creating a tag file using etags *.php and then navigating with find-tag is limited in that it doesn't seem to have any sense of the calling class. So you have to cycle if two classes have methods with the same name. Semantic's semantic-ia-fast-jump function, another potential o...

Reserved word 'script' embedded in id tag - id can't be referenced

This is a new one on me. In FF 3.6.3, use of the word 'script' in a tag id seems to make the id return null when searched on with document.getElementById. Thus document.getElementById("blah_script") returns null from <div id="blah_script"></div>. Understood that 'script' in general is a reserved word, but I didn't know it was so spook...

Using colon in html tag and handle its element in javascript

Hello, why my "myns:button" don't become red in IE 6 / 7 / 8 unlike in Firefox / Opera / Safari / Chrome ? <html> <head> <script type="text/javascript"> window.onload = function() { var tmp = document.getElementsByTagName('myns:button'); for (i = 0; i < tmp.length; i++) { ...

How to limit the wordpress tagcloud by date?

Hello, I've been searching for quite a while now to find a way to limit wordpress tags by date and order them by the amount of times they appeared in the selected timeframe. But I've been rather unsuccesful. What I'm trying to achieve is something like the trending topics on Twitter. But in this case, 'trending tags'. By default the ...

Facelets duplicate id

I'm creating a facelet component which I intened to include many times in a single page. I need to define one a4j:outputPanel tag inside my component and give it an id, so that it would be possible to reRender this outputPanel via ajax. But facelets seems not to handle that situation as "duplicateId Exception" is thrown. I partialy unde...

Automatically create tag based on the string

Hello, I am new to ruby on rails. Lets say i have this text.. Ashley Cole and Cheryl Cole Split. Is there a way to automatically tag this above text to Ashley Cole, Cheryl Code, ChelseaFC ( Ashley Cole plays football (Soccer) for that club. Please help.. Also which is the best tagging gem available? Looking forward for your help T...

is there anything exist to convert xml -> yaml directly?

is there any library or way exist from which I can convert my xml records to yaml format ? ...

How to replicate the styling of html heading tags

Can anyone tell me how to replicate the styling of a <h3> tag using CSS? ...

Can I tag in Apache Subversion with NAnt?

I need to build multiple environments and tag them in Apache Subversion using a NAnt script. Is there a way that I can use NAnt to create the tags in Apache Subversion with a variable I supply? ...

Is it bad practice to allow dots in SVN tags/branches' names?

In my SVN repository tags are listed by version where name contains dots. e.g. 0.10 or 0.12.1 branches are named like proj-0.24-rc In the same time, for example in Mono project branches has not dots. Is it some practice to avoid dots? Could it be treated like extension delimiter (by web server where repository is been served), etc? ...