Personal tools
You are here: Home log html
Document Actions

html

nooks and crannies of html

3   2009-4-26 Cross-site JSON

For security reasons, web browsers impose the same-origin restrictions on client http request. Document below offers a way around it by utilizing <script> tag. However, it requires you to have privilege to modify the other site so that it returns the literal of javascript function call with json data structure as argument.

http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=GettingStartedJSON

If you just want to embed a whole page from another site into a page on your site, use a frame with url pointing to external site.

4   2009-5-21 redirect web page

embed this in your html <head> tag:

<meta HTTP-EQUIV="refresh" CONTENT="1;URL=http://www.usc.edu/">

1 means redirect after one second.

« November 2009 »
Su Mo Tu We Th Fr Sa
1234567
891011121314
15161718192021
22232425262728
2930
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: