Hello I'm looking for a way to add anchor-based URL navigation to jQuery masonry..
Here's the example:
http://desandro.com/demo/masonry/filtering.html
I'm trying to be able to direct people straight to a filterable class (ie: ../filtering.html#red)
Seems like there should be an easy solution but I'm a Javanoob so I would really apprec...
Hi all,
First I need to programmatically get tags (unlike what is done here on stackoverflow) from the titles and descriptions of my posts. I don't want commonly used words to appear in keywords. Is there an efficient way of doing this?
After getting good tags, I would like to save them in MySQL DB.
Now, how do I efficiently get rela...
I'm used to writing python scripts that interact with files, data and databases but I haven't done user-interfaces.
For my current project, I want to show an image (jpg/gif/png) to a user so it can be region-tagged. Region-tags are not just information about the image (like location or has/doesn't have people in it) but about the conten...
Hi,
I want to extract string between html tags and convert it into other language using google api and to append the string with html tags.
For example,
<b>This is an example</b>
I want to extract the string "This is an example" and convert it into other language and then again append the string with bold tag.
Could anyone know how...
I know this one has been asked before, however I can't seem to find a suitable solution, so I 'll state the problem:
I have a string of characters that is similar to an XML file. It's not an XML string, but it has opening and closing tags. All the information resides in one single line, for example:
<user>username</username>random data...
I am trying to add a JAR file to a simple java applet which can be opened has an HTML.
This is my coding:
<applet code="AgniCorpContactsApp.class"
codebase="/agnicorpcontacts" width="100" height="100"
archive="AgniCorpContactsApp.jar">
</applet>
The location of the JAR file and all of the class files is: C:\Documents and Settings...
Hi there,
I could find in Jdom api any function to create self closing xml tag like the <selfClosingTag /> below.
For example, I need to create the following content:
<parentTag>
<selfClosingTag />
<firstChild>...... </firstChild>
<secondChild>...... </secondChild>
</parentTag>
Can someone please tell me how. Please te...
I am trying to add a JAR file to a simple java applet which can be opened has an HTML.
This is my coding:
applet code="agnicorpcontacts/AgniCorpContactsApp"
width="100" height="100"
archive="AgniCorpContactsApp.jar">
The location of the JAR file and all of the class files is: C:\Documents and Settings\Owner\My Documents\NetBeansProj...
I have a text ($text) and an array of words ($tags). These words in the text should be replaced with links to other pages so they don't break the existing links in the text. In CakePHP there is a method in TextHelper for doing this but it is corrupted and it breaks the existing HTML links in the text. The method suppose to work like this...
I developed a site that uses tags (key words) in order to categorize photographs.
Right now, what I have in my mysql database is a table with the following structure:
image_id (int)
tag (varchar(32))
Every time someone tags an image (if the tag is valid and has enough votes) it's added to the database. I think that this isn't th...
I used a httpservice which returns a xml as a result.But the content itself has a '<' symbol or '>' symbol , it leads to error ! How can i handle this?
Thanks in advance.
...
I'm using Hudson to build my project from my Mercurial repository. There are two jobs: One builds the tip, the other should build the latest release. When I tag a release and then use that tag in the field "branch", I get this error:
[workspace] $ hg update --clean --rev Release_1_2_beta1
abort: unknown revision 'Release_1_2_beta1'!
W...
I need to write a shell script to check the existence of certain CVS tag in the repository, and do different things depending on the result. So hence is my question: How to check for CVS tag existence and parse the result in shell script?
...
Hi. I have been scratching my head trying to get Jquery to conditionally search and replace title tags in a document. Essentially I want Jquery to go through a list of image tags, check if the image tag is a space " " and if so remove the space "". If the title tag is anything else Jquery should leave it alone.
HTM i am not allowed to a...
I'm trying to use JS to access data in OpenGraph meta tags. It works fine with meta tags that have the standard attributes (name="x" content="y"), but for OpenGraph tags, the meta tag reads
<meta property="x" content="y">
I haven't had any luck accessing the contents of the "property" attribute using JS. The .name attribute is just...
I'm currently hosted on a Mediatemple gridserver. I'm writing a site to teach myself Ruby - straight ruby, no rails. I've run into a few errors that appear to be a result of nested tags. For example:
eruby requires <% %> tags around ruby code. If I try to use erb templating I'm stuffed -
<%
template = ERB.new <<-EOF
The value of x i...
I am trying to add a new div to the page when you click on NEW DIV?
How could I do this? Can someone point me in the right direction?
...
Hi, I have a Drupal view which should output a video player using flash. I am trying to output a script that will call the flash film. The problem is that Views applies some sort of filter that strips my <script> tags, the opening and the closing one. I am searching a solution (some setting in views that will disable that filter), but ca...
I have a database that contains two tables:
entries
tags
The entries table contains posts that each have one or more tags. The problem is, each post can have any number of tags. In other words, I can't have a 'tag1', 'tag2', etc. column and do a LEFT JOIN.
How should I set up entries so that each post can have any number of tags?
...
Hi folks I'm trying to set up tagging in my CakePHP application. I've been using an article I found here: http://bakery.cakephp.org/articles/view/simple-tagging-behavior
The problem I'm having is when I add the line
var $actsAs = array('Tag'=>array('table_label'=>'tags', 'tags_label'=>'tag', 'separator'=>','));
to my project model.
...