Does anyone have suggestions for detecting url's in a set of elements and converting them to links?
$$('#pad dl dd').each(function(s){
//detect urls and convert to a elements.
});
in ./my_uploads/ there are files that are constantly being added, removed, modified. I'm looking to create a php file that displays these links as they're getting created /modified or removed.
i am triying to write a web based proxy site on google app engine.Displaying the first page of entered url was fairly simple urlFetching api but i am unable to figure out how to proxify the links and requests origionating from this newly displayed page.
For tree leaves in XML, when is it better to use attributes, and when is it better to use descendant nodes?
For example, in the following XML document:
<?xml version="1.0" encoding="utf-8" ?>
<savedGame>
<links>
<link rootTagName="zombies" packageName="zombie" />
<link rootTagName="ghosts" packageName="ghost" />
<link rootTagName="players" packageName="player" />
<link rootTagName="trees" packageName="tree" />
</links>
<locations>
<zombies>
<zombie>
<positionX>41</positionX>
<positionY>100</positionY>
</zombie>
<zombie>
<positionX>55</positionX>
<positionY>56</positionY>
</zombie>
</zombies>
<ghosts>
<ghost>
<positionX>11</positionX>
<positionY>90</positionY>
</ghost>
</ghosts>
</locations>
</savedGame>
The <link> tag has attributes, but it could also be written as:
<link>
<rootTagName>trees</rootTagName>
<packageName>tree</packageName>
</link>
Similarly, the location tags could be written as:
<zombie positionX="55" positionY="56" />
instead of:
<zombie>
<positionX>55</positionX>
<positionY>56</positionY>
</zombie>
What reasons are there to prefer one over the other? Is it just a stylistic issue? Any performance considerations?
I need to take an image and place it onto a new, generated white background in order for it to be converted into a downloadable desktop wallpaper. So the process would go:
1) Generate new, all white image with 1440x900 dimensions
2) Place existing image on top, centered
3) Save as single image
In PIL, I see the ImageDraw object, but nothing indicates it can draw existing image data onto another image. Suggestions or links anyone can recommend?
I have a complex layering situation for the website: http://andstones.ca/contact/ where I use a large background image for the content to scroll in and out of...
Only problem is the transparent image covers up the content and makes links unclickable?
Any idea for a fix that keeps the slider looking the way it does now?
Thanks,
Kory
My facebook application has a tab the user can install. On this tab, there is links that are suppose to link to application canvas (ex.: apps.facebook.com/my-app).
It seems that when I'm on my user profile tab and click on a link, Facebook loads the page inside the tab. How do I force it to navigate out of the tab and into the canvas page?
I'm trying to write a script in Greasemonkey that will replace a link's target with something else, but with my limited Javascript knowledge I don't really know how to do this.
Basically I'm trying to find all links containing a certain string of characters (ex: //a[contains(@href, 'xx')] ), and either replace them with another link, or append something to them (replacing 'abc123.com' with 'zyx987.com' or 'abc123.com' with 'abc123.com/folder').
If you could point me on the right path I'd greatly appreciate it.
I'm looking for a library or existing code to simplify fractions.
Does anyone have anything at hand or any links?
P.S. I already understand the process but really don't want to rewrite the wheel
I'm interested in the way lala.com works. They have a header that remains fixed at the top of the browser and they have a flash music player in it.
You can click on other links in the site and they are displayed below the header but the header is not disrupted and can continue playing music.
If the target is a modern browser say IE8 & FF 3.6, what's the best way to achieve this?
Thanks for any help.
I am using Jquery Accordion. The active link has an outline.
I have tried using css:
#accordion a:focus
{ outline: none; }
#accordion a:active
{outline: none; font-weight:bold;}
and also
#accordion a:-moz-any-link:focus
{ outline: none; }
None of these seem to work. Can anyone advise a setting or another option to remove the dotted outline around the active links?
In my Asp.Net 4.0 C# application I wanted to use chart control. Is there any chart control designed to work with asp.net 4.0 where my application is going to be deployed with the Azure Frame work. Suggest me with any informative links to move forward
I know that Spring 3 supports JSR-286 (portlets version '2.0').
However I can't find a lot of documentation on that.
Can anyone share some links about this?
Thank you.
Is there is any Jquery plugin for create complex DOM struture
?
i want to create HTML table through ajax response.
table cell contains checkboxes , radio button links html components.
also want to handle events like click , onchanges on respected components.
Given a repository served over HTTP whose owner forgot to chmod +x hooks/post-update, is there a workaround for cloning it?
I tried running wget --mirror url, but rather than fetching the subtree only, it tried to mirror the entire site—which I assume happened due to the parent-directory links in the autogenerated index.html resources.
What book can I read to help me start a software testing company? I've read all the basic software testing books. Please don't point me to other basic software testing books.
I would like to get a list of links or books on the business of software testing.
Hi,
While I'm fine with standard control styling in silverlight I have recently began using more dynamic methods of fetching data to be displayed in items controls. One of the controls I am reworking is a collection of links.
The issue I am having is that each link is coloured differently when moused over. One red, one blue, one green, etc. Is there a way to style these items without sacrificing the dynamics of using an items control with a data template?
Hello all,
I know that the reminder application should display a badge or sound or kind of alert to the user .
The only doubt I want to clear from you guys is , should I display the badge in some manual coding fashion (like [[uiapplication sharedApplication] setBadgeNumber:2])or I have to use Apple push notification service and push the notification from a provider server ???????
I just want to know to implement the reminder application in correct way . Also any links to tutorials or examples would be appreciable .
Thanks ,
Hi,
I want to show a custom animation when pushing a view controller: I would like to achieve something like an "expand" animation, that means the new view expands from a given rectangle, lets say [100,100 220,380] during the animation to full screen.
Any suggestions where to start, respectively any documents, tutorials, links? :)
heinrich
How do I push my content to the top of the page to not cover up the ad, but to cover the menu and myspace links. I want to do something similar to: http://www.myspace.com/sensesfail and http://www.myspace.com/attackx2. Thanks.
Hello everyone,
I am trying to assign a regular expression result to an array inside of a bash script but I am unsure whether that's possible, or if I'm doing it entirely wrong. The below is what I want to happen, however I know my syntax is incorrect:
indexes[4]=$(echo b5f1e7bfc2439c621353d1ce0629fb8b | grep -o '[a-f0-9]\{8\}')
such that:
index[1]=b5f1e7bf
index[2]=c2439c62
index[3]=1353d1ce
index[4]=0629fb8b
Any links, or advice, would be wonderful :)
Hi,
I want to create a Word or RTF file with a table of contents (with links to each section) from Java. From my understanding, iText & Apache POI do not support generating a table of contents. Some clients of the app still use older versions of Word, so I need a library that supports the older Word doc format. Does anyone know how I can do this?
Thanks,
Glen
Hi,
I am reading about COFF file formats, which is commonly used to create an executable file format (it has some variants also).
While reading, I came across the relocation section of the format.
How is this relocation section used to create an executable file.
It would be very useful if you point me to some links which will help me
Hi,
I have been developing web applications for a while now. My applications have been fairing poorly in search engine results because of the dynamic links that my websites generate.
I admire the way some developers do their mod_rewrite to produce something like:
http://www.mycompany.com/accommodation/europe/ to run a substitute of "index.php?category_id=2&country=23"
How can I achieve that in my urls?
Warm regards,
JB
I am currently working on a wireless solution for my arduino and computer. I am trying to connect a Transmitter to my computer and a receiver to my arduino. I have seen a lot of examples with arduino to arduino communication but none for computer to arduino. What would I need to interface the transmitter with my computer, PIC?
If anyone can provide any insight or any links it would be greatly appreciated.
Thanks,