content

How to get the content of a remote page with JavaScript?

I have a URL of a remote page from a different domain which I have to download, parse, and update DOM of the current page. I've found examples of doing this using new ActiveXObject("Msxml2.XMLHTTP"), but that's limited to IE, I guess, and using new java.net.URL, but I don't want to use Java. Are there any alternatives? ...

Loading external post/content to a specific div (jquery, wordpress)

Hi, I've been playing around with the grid-a-licious theme, and found some really cool sites similar to the theme: ex. http://home.visuaal.com/ The question is: any idea on how the post contents were loaded similar to the sample above? When the user clicks on each box, the specific div expands and displays/loads the entire post. When t...

resizing content UITableviewcell in landscape

Hi i`m developing a app in iphone sdk and i want to resize the content of my tableviewcell when the device is in landscape mode. In my tableviewcell i have an synchronous image and two labels, in portrait mode i looks awesome very nice, but when i turn the device in landscape the content of my tableview doesn`t resize. There is someone...

Clear dynamic content with jQuery

After loading dynamic content to a DIV, I'd like to add a Close option, that would remove this content from the DOM. I'm working with jQuery and WordPress. Any ideas? ...

Set Window.Content to a page by XAML?

<Window x:Class="MyWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:src="clr-namespace:WpfApplication1" Title="ContactsSelector" Height="300" Width="300"> <Window.Content> <src:MyPage> <!--MyPage is a page that I c...

I want to create a mobile content for mobile users, any help?

I am new to mobile content developing, but i want to create a mobile content that would allow mobile phone users buy have a money account on thir mobile phones, this is by using their airtime to turn into some kind of money account they will create on their phone. so they can use that account to do transactions with their mobile phone, a...

Replace data of the node child

I have an xml file (Student.xml) like this <student> <studentinfo> <name> <first>John</first> <last>Doe</last> </name> <gender>male</gender> </studentinfo> </student> and my php code <?php $dom = new DOMDocument; $dom->load('Student.xml'); $student = $dom->documentElement; ...

How to track flash / video content usage?

I have a few YT videos embedded on the pages of my site. Is there any way (say, via Javascript/DOM) I can track the following: How much % (bytes, duration, etc) of the video content got transferred to the user's browser? (The red progress bar in YT videos, for example.) How much % (bytes, duration, etc) actually got played (watched by ...

jquery - how to get content of div, which contains javascript in it ?

hi, i have div: <div id="example"> ...some text... <script type="text/javascript"> ... some javascript... </script> </div> how to get content of div "example" but also with that javascript ? $("#example").html(), $("#example").text(), $("#example").val() doesnt work. so i want to get this: ...some text... ...

Are there security issues when dynamically loading external content into a page using jQuery?

I'm building a site and I would like to have external content dynamically loaded in a div using jQuery. The content could be a google search page, where one can navigate without actually leaving the site. Could someone exploit this and drive to a content of his own and run malicious code inside my site? Are there ways to prevent this? Is...

Is Django Book platform available?

The Django Book has a neat content publishing template. Anyone knows if it's available for public use? Alternatively, what Django sources would you recommend as an easy to use, out of the box CMS? ...

Expression blend 3 Sliding content?

Hi I'm trying to create an effect whereby when I click an arrow my content slides to the left and dissapears thus leaving an new set of content in its place. Much like the way wp-coda works http://wordpress.bustatheme.com/coda/, but i wan to do this in expression blend which uses silverlight. Thanks Judi ...

How to store the content of an email (the email & attachments) in one file in SharePoint?

SharePoint is breaking the emails apart separating the attachments from the emails were sent into, resulting in multiple files where should be only one. Does anyone knows a solution around this issue? How to store an email and its content in one file in SharePoint? Thanks, ...

How to internationalize content on ruby on rails?

How can I internationalize say a categories table (with a name column) into different languages. How about a products table (consisting of a name and description columns). Which is the best way to internationalize the content of these database tables using Ruby on Rails? ...

Searching for Database of Entity Names (colleges, cities, personalities, countries...)

For an enterprise application research project me and another person are working on, we are looking to remove certain content from the page to keep the posted messages universal(meaning not offensive and essentially anonymous). Right now we want to take a message that a user has posted to a message board, and remove any type of name, nam...

jquery acces content loaded via ajax call

i'm trying to write a jquery plugin that when i click on a image to pop an alert message. Those images are loaded via load() method. Is there possible to load the plugin on document ready and the plugin to have acces to the loaded content? i don't want to use a callback function, i just want to include the plugin in the html page and the...

JQuery - ajax load

Hello, I have a div: <div id="inner"> Some content... </div> Now I need to load some file into inner-block, but save it's old content. $('#inner').load( 'pathToFile.html' ); Will replace old content of div. Thanks. So, as I understand my code should be: old = $('#inner').html(); $('#inner').load( 'pathToFile.html' ); $('#i...

Where can i find cities neighborhoods database?

Hey Folks, Where can i find (free/not-free) database of cities neighborhoods for MySQL ? Interested in US only areas. Any recommendations? The database would help to identify location by zipcode. I`ve already got database showing city and state. But i need to find neighborhoods around. I saw good example on site called http://www.ood...

Content offset in Javascript

I want to create my own implementation of a div with scroll, without using overflow: scroll; But I can't seem to figure out how to get the content offset of a div, does anyone know? ...

Including sample site into php and making it interactive

Hi there, I am working on a small project for learning PHP better. This project has a primary file, which opens another website (e.g. youtube) by using fopen + fread. (or file_get_contents ?) The site will be saved into a variable and after that a function will parse the file's content and should replace certain items with advanced con...