How can I detect when the iframe content has changed and do something upon that change pseudo code below
$('#waframe').contents().change(function(){
//do stuff
});
I like the visual behavior of the DOJO TitlePane widget, but it has too much other bunk for my purpose. http://dojotoolkit.org/reference-guide/dijit/TitlePane.html#dijit-titlepane
Is anyone aware of a jQuery widget that provides the same ability to expose and hide content in a stacked manner with the little flippy-arrow, pane highlighting on mouse over, etc? An accordion does not accomplish my goal being able to have multiple panes open at the same time.
Thanks in advance.
I am using a URLConnection class - I want to be able to grab a stream to a given URL even if said URL is unavailable (ie cache the last known cope of the content on a URL, to some local file system dir) - now I have written this code a few times (never happy with it) and was wondering if there is something better out there that might be able to do this.
I've defined a custom content type - news. I also have a menu item - latest news - that links to one of the news nodes. I want it to link to the latest of them. How would I do that?
I have the feeling that Flash-based ( or Silverlight-based) websites are generally frowned upon, except when you are creating games or multimedia-content rich applications. Why this is so?
Hi,
I'm dealing with a HTTP sockets project, I have to send 2 HTTP GET requests from my java code like this :
Request 1 : call page X
Page X is setting a cookie.
Request 2 : call to page Y
as you see to access the content of page Y i cookie must be present...
how to accept a cookie from java code please ?
I just found out my host is on ZEUS..
Please can somebody help me with my rewrites:
domain.com/001234
redirects to
domain.com/001234-some-keywords.html
Apache:
RewriteRule ^([0-9]{6}+)/?$ includes/redirect.php?ref=$1 [L]
RewriteRule ^([0-9]{6})-.*?\.html$ templates/default/index.php?ref=$1 [L]
tried this in Zeus:
match URL into $ with ^([0-9]{6}+)/?$
if matched then
set URL = includes/redirect.php?ref=$1
endif
match URL into $ with ^id/([0-9]+)/?$
if matched then
set URL = home/content.php?id=$1
endif
Is EE better than Plone?
Is there a way to allow guest bloggers to post content in EE?
Is anyone interested in attending the EE conference this year? There
is a discount if we sign up as a group. Please contact me directly if
you are interested bparanj at gmail.
In smarty is it possible or is there any kind of function to render a template and return the result?
for example:
$rendered_content = $smarty->render("content.html")
Is there any Python library that allows me to parse an HTML document similar to what jQuery does?
i.e. I'd like to be able to use CSS selector syntax to grab an arbitrary set of nodes from the document, read their content/attributes, etc.
The only Python HTML parsing lib I've used before was BeautifulSoup, and even though it's fine I keep thinking it would be faster to do my parsing if I had jQuery syntax available. :D
Is there any free CMS to operate a small business website/blog with screen reader compatibility where a blind person can update the content and other things via CMS administration?
In my app the user generates text content. I want to enable the user to launch the Mail application, which then should contain a specified subject and message body. Like: You write a poem in my app and then want to send it to your new girlfriend. So you tap a mail icon and the Mail app opens, containing already an subject and message body with your poem inside.
Someone said there is a kind of URL mechanism for that?
Hey,
How can i redirect a subdomain call to a folder?
So when the site, sub.domain.com is requested I want to redirect it to show the content of domain.com/sub/
The server is configured to add every request to the domain, but i get a 404 page everytime i do a non-defined subdomain call (witch is trivial, because theres nothing defined)
So the question is:
How to solve this, with .htaccess?
I want to reference an element once and then reuse it threw out my code but I'm not sure the correct way. Below is what I tried but it only works in some places.
$(document).ready(function() {
var image = $("#content img");
image.wrap("<span />"); // Works!
image.hover(function(){}, function(){}); // Does not work?
});
I have an ASP.NET application where View.aspx page will display the details of each products in a shopping cart.The page displays dynamic data(Ex: For each product id,the content will be different).Now i want to track the unique page views of each product.What are the best solutions to approach this problem ? I am already using google analytics.But i wanna custom solution for my web ap,so that i can know how many hits came for each product
Hi all, i have searched Google and also searched Stack Overflow to no avail.
I am looking for a PHP / MySQL driven dynamic image slideshow. One similar to 'lightcyclers.com', i have information stored in the DB and i just want to display random or popular content etc.
I am also not interested in coding one myself as i am busy working on other features.
Any links or help would be much appreciated.
How do I do the following in Perl in order:
a) curl a page and save it to a variable
b) parse the value of the variable (which is HTML content) for values I want (ex: the info is kept between tags like ... )
Hi, I have an iframe loading some content, and I would like it so that when anything inside the iframe is clicked (a new window pops up) but I would also like it so that the page displaying the iframe reloads, is there any way to do this without modifying anything inside the iframe?
Hi all,
I'm trying to set a view script to be executed in addition to the currently requested action view script. I want to do this from the controller action itself in a way that this new view script output will be available from the layout $this-layout()-content helper.
I found the setView() method but don't know how to use it from the controller.
Thanks a lot.
I am creating an app with thumbnail views of my content. I would like to put a "delete" badge in the upper left corner of each thumbnail like the one you see either when deleting apps from the iphone/ipad home screen. It is typically a black circle with an 'X' inside.
Is this a badge or image file made available somehow through the SDK?
//Scott
Hello everyone,
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am developing C++ console/terminal applications (File-New project, then from the list on the left "Command line utility", and on the right "C++ tool".).
For C++ source code file, I want to print source file content with line number. Any ideas how to do this?
thanks in advance,
George
I have set up some horizontal tabs using twitter bootstrap and I am rendering a form inside each of the tabs:
<div class="tab-content">
<div id="tab1" class="tab-pane active">
<%= render :partial => "shipdr/websites/form", locals: {:@shipdr_website => shipdr_website} %>
</div>
<div id="tab2" class="tab-pane">
Another form (not yet implemented)
</div>
<div id="tab3" class="tab-pane">
Another form (not yet implemented).
</div>
</div>
Then in shipdr/websites/form I have:
<%= simple_form_for(@shipdr_website) do |f| %>
<% if @shipdr_website.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@shipdr_website.errors.count, "error") %> prohibited this shipdr_website from being saved:</h2>
<ul>
<% @shipdr_website.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<div class="field">
<%= f.input :name %>
</div>
<div class="field">
<%= f.input :url %>
</div>
<div class="field">
<%= f.input :api_key %>
</div>
<div class="actions">
<%= f.submit nil, :class => "btn btn-primary" %>
</div>
<% end %>
I want to move the submit button outside of the "tab-content" area so when a user clicks the submit button, all three forms area submitted. All forms will use that same model and the same action but will have different field. The idea is similar to a wizard except I am using tabs.
Does anyone have any idea how I can move the submit button outside of the form_for loop and how I can submit the three forms with a single button?
cache.set(key, Biglist, 3600)
print cache.get(key)
When my "Biglist" is a huge list of lots of content, it doesn't seem to store.
But when I change it to small text like "abc", it stores.
What do I have to configure so that I can set my memcache to accept unlimited size of key/value?
using jquery ui tabs, when you load a tab in ajax, the tab changes message to say "Loading . ." i think this is a little subtle.
Is there anyway you can do something in this content area of the tab similar to what block ui does when you are loading a call in ajax.