I use milonic s menu for my website, as such i need to generate some sort of site map so that the various crawlers can get full access....I used to use the phpsite map which came with Milonic Menu, however since i have moved hosts, this has stopped working. [URL] any offers on why it has stopped working are welcome (windows hosting)as it still works on my other site (linux hosting)[URL]anyway, thats not the point of my post....Also provided by milonic is the option to provide a list based menu using some js...
[URL]
I have incorporated this into my site
www.tugtracker.co.uk - click misc on the menu then "Site index" You will see a pop-up erm pops up.... This looks okay and something like what i want, However i need it to be placed into a webpage so i can give it a www.tug..... address and then i can point the crawlers at it.... How do i code it into the page to that the JS will run within the body and result within the body of a page?
I'm would like to add a light box to a site that has content generated by php. Basically it is a property site and will have a thumbnail image and description. When the user clicks on thumbnail I would like to display a gallery of pictures relevant to the property. Each property will be generated dynamically by php. My question is how do I enter the selector for the gallery into jquery. I am thinking of using Fancy Zoom as you can use hidden elements, as the gallery will be hidden.
I have a form that posts data to a PHP mailer page I have created. When it goes to the PHP mailer page it reads some of the data and modifies the page accordingly using Javascript (hiding certain divs, etc...). My goal, is to take all this data after it has been processed by Javascript and send it through my PHP mailer as it is currently formatted.
If it helps any, the track I am on right now involves encapsulating the Javascript processed block in a div. I am then trying to take the ..innerHTML data from that div and store it in the PHP $message variable for my mailer. This won't work because PHP is server side. So, I moved on to generate some Javascript code (with PHP) that sends all that messy HTML data that its processed through a URL variable to then be read by PHP. This doesn't really accomplish what I want as it cuts off about a quarter of the way through my data......
Any ideas??
One thing I thought of but don't know how to do or whether it's even possible is using PHP to view the source of the current page and store that as the HTML to be e-mailed. Or, is it possible to do something similar to .innerHTML with PHP?
I have been playing with jquery loupe and want to use it on a ajax genererated return (html refresh) So far I can get it to recognize multiple images defining only one script using a id tag that begins with image_
I'm trying to add dynamically generated HTML after the page has loaded. I've tried two versions.The latest versions is this, using insertBefore (as appendChild is buggy in a few browsers according to the SitePoint reference) ...
Code:
addImageField: function(x) { var newNode = createImageField(x); var src = document.getElementById("imageUploads");
[code]...
The first alert returns: object HTMLFieldsetElement .The second alert returns: object HTMLDivElement....and the third alert fails to fire, indicating a problem with the code above.Note that if I change the problem line to remove the null reference it still doesn't work (again the third alert won't fire):
function PopUpWindow(w,h,urla,v) { document.getElementById('h1').value=v var popUpX = (screen.width/2)-w/2; var popUpY = (screen.height/2)-h/2; var pos = "left="+popUpX+",top="+popUpY; window.open(urla,'myPopup',"scrollbars=yes,width="+w+",height="+h+","+pos); }
The above function is called by the following button click event onclick = "PopUpWindow(390,500,'gal_rhinoplastyresult.html',photos1)" where photos1 is an image array
which opens the bellow page as follows....everything is fine but no functionality in print i.e. window.print() not working.
i want to make a iframe page that loading a page from other site. I have try "jQuery iFrame Sizing" to set auto height in iframe... but it is failed.
This is my code : ------------- on Head <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/iframe.js"></script> on Body
I was wondering if there was an easy way to dump the html that gets generated after the page gets loaded to verify it's what I wanted and expected (I'd like to check out the source, not just the results).
Our company own a lot of domains and want to put a short page of copy on each address along with keywords before redirecting the user to our main site. I have been able to get the page to load the main site after the desired time using this code in the head...
That works perfectly, I am now trying to display a countdown timer from 40 seconds down to 0, and on 0 redirect the user. Saying something like "You will be redirected in XX seconds". Is there anyway of doing this? I've been searching google for the answers with no luck and can only seem to find timers that countdown to a set date.
I'm trying to read another site which is on ssl. It has data that changes daily. I do not own the other site. I don't have curl or ssl support with my providor. Is there any way I can do it with Javascript or PHP?
I've been trying to install a new shopping basket system to my wordpress site called Easy Basket. Eventually I've managed to get it up and running on preview pages and the homepage but the basket doesn't display on any other pages?Apparently Firebug relays a 404 error file can not be found when Ajax Get tries to write the basket into the page.Here is the coding installed into the head section
HTML Code: <link rel="stylesheet" href="/easybasket/skins/default.css" type="text/css"/>
HTML Code: <meta name="easybasket" content="showhide=yes" /> <script type="text/javascript" src="/easybasket/easybasket.js"></script>
I developed a website which should be in german and english. I need to load the site depending on the browser's language. If the user's browser is english and he types URL>..then I have to load the english site with URL...and if the language is german I have to load always URL... I have created a redirect.htm on IIS as the default document and that is not working.
I want to repeat 3 .html file in every page of my site. (header.html, footer.html and navigation.html), I read something about php's include() function. but I like to use JQuery's .ajax() or get() function. How can I do that?
Can a random page be loaded without a prior visit to a site?
I have a list of 15 people with a photo and contact information in a table with 3 columns and 5 rows. The issue is that the people near the bottom want a chance to be at the top the first time the page is viewed. It is unlikely that a second visit would happen.
Is this possible to load a random page for a site without it being viewed or logged into before, therefore no cookies will be used.
i have to make a simple site for my sister and i am kind of a newbie at the whole web development thing am pretty ok with html tho. wo i was trying to make a slide show on the front page of the site, so i got a little help from a site called java script city,
var my_imgs_off = new Array(); var my_imgs_on = new Array(); /* Set "Off" image URLs */
I'm using LavaLamp [url] for the main navigation on a site I'm building, for a subtle animated effect.
The site itself is a single-page portfolio site with 3 sections organized vertically, "Home," "About," and "Work."
The problem I'm having is that the clicked navigation does not return to its original position on each panel if I double back on it.
For example, if I'm on the Home panel, and I want to get to About, I'll want to select "About." The LavaLamp animation will ease over to the "About" link on hover, and I'll click it, then the page will scroll to the About panel, where "About" in the navigation is being shown as selected (LavaLamp has a "current" class you can apply to whatever you want to start off as being selected)...
And that's great, BUT, say I want to get back to the Home panel. I click "Home" in the nav, and I'm transported back to the Home panel - but when I was there before, I'd selected "About", and since it's all on the same page, the link is focused on "About," even though I'm on the Home panel. Make sense?
I'm not good enough at JS or jQuery to figure out how to fix this. I think what I want to happen is for every link on each panel to STAY where it was originally assigned ("Home" link will stay on Home, "About" link will stay on About, etc.), but animate on hover only.
Is there a way to write something into the LavaLamp JS to make it so the animation works only on hover, and not on active, focus, or visited?
Here's the code, can't provide a demo page, I don't have anywhere to upload it at the moment...
index.htm with an example of what each panel looks like:
jquery.lavalamp.js:
And last but not least, the LavaLamp CSS:
Forgot to add the page js:
EDITED ALSO TO ADD: Could it have something to do with this:
Here is the preliminary design of a site I'm making in Adobe GoLive (CS2) in OSX Snow Leopard:I'm using CSS for the layout.What I'd like to do is have the nav menu at left be a separate HTML page that I only have to edit once, and then have repeated throughout the site.I achieved something similar with a javascript code I learned from a friend for the title and top menu of this site:The script on the ScorpioMartianus page looks like this:
Each link on mouseover, popups to the right and shows links to different pages within the site. example.. pumps. pops up the mouseover window and has 3 links to 3 different pumps, each on a separate pages. Where as the moters link may have 25 links to different kinds of motors etc.
Im having a bit of an issue with a website im building for a band.The band want a site that is 2500 width so that when the page loads you can either scroll right or left to view the out of screen material...i cant find a way of the page loading centered...it is always loading to the far left and all i can do is scroll right...i have uploaded the site to http:[url].... for you to have a look at so you see what i mean.I origionally posted this thread in the CSS forum but was instructed this would be a Javascript issue.
this may be more of an "html" issue, but I'll wing it.
i've got a multi-language site, where the home-page of each language group features a link to a popup window that offers background info on site management. the popup is fired by a javascript function, when they click the site management link. there's also a "window close" function button so they can nuke it as they please.
now, oddly, people who search for my site in the chinese language on google, are sent directly to the site management popup window, which of course, opens in their "full" browser window, and which also has no links back to the main site, because it's meant to open only as an "accessory" to the main site.
my question is this: is there any way, with Javascript, that I could determine if they arrived at this window from "off-site" (ie, a google search), and therefore offer such "off-site" visitors a link back to the principal site, a link that would be hidden for visitors who clicked the popup window from my own site?