I'll try and keep this as short as possible (honest), scenario is this... I have a "price comparison" website which looks for deals via a php? query string url and returns the results as an Iframe inserted into a static "show" template page. Unfortunately that gives me 1000+ pages with duplicate title and meta descriptions...
What I'm trying to do is grab (server-side, from returned iframe content) a certain element of text (e.g. first (b)text to change/insert title and use the same text to insert in front of my description (i.e. description="grabbed text" blah blah blah
I know basic html and css etc and have started reading up on Jquery, but thats it... I'm not a programmer, so having asked question on a couple of forums and "googled" relevant topics, I've only got confusing info... most pointing towards Jquery, ajax etc. Thing is everyone goes "tech-speak" on me, might as well be martian...
I am using PHP & mySql to grab the title and description that I have stored in a table in the DB.
I am trying to dynamically change the <head> <title></title>, as well as <meta name="Description" content="" /> .
I used document.title to change the title. I see the title changing in the browser, but when I click on view source in the browser to see it int he code, the title is empty. How can I also see it in the code?
This page: [URL] seems to indicate that it's possible, but it looks like it also pops up an alert window which would be annoying as hell. Is there a way to, say, once every minute change the title bar text?
You see I have a text file of rotating slogans that appear each time you reload a page on my site and someone suggested that having them change even when the page is already open might be fun. I thought I'd look into it and see if it's possible. The site is [URL]
I don't know enough about javascript to know if this is possible. I am fairly good at implementing and installing other people's code, though, and can usually make minor changes to tweak things.
I have a large image of all my products. I image mapped the images to their locations. I would like to have something where, if they put their mouse of the proper coordinate it changes the text beside the image (description text).
I don't require a sample, just the sraight code that ACUALLY works.
I used one off dhtmlcentral.com and it keeps on screwing up because of the stupid div features that come with it. I just need something SIMPLE.
I have the following codes but I can see that the dialog title not being set. How can I change the title of the dialog box. The alerts clearly shows that the title are the new values passed. Only they are not being displayed as the title in the dialog box. How can I make it work?
I have created a simple slideshow/ gallery.There are five small pictures with titles below the slideshow.How can I get the title box above the slide show to change according to the selected picture.Been playing with it but nothing seems to work.[code]
One my website its one index page, putting in content depending on the link (ie ?page=xxxxx) and from that it generats the page name, (Page name - MySite). I also have an AJAX search form working on keyup (kinda like google autosearch). I want it so when i start typing there it changes the title to Search - MySite. Then when its empty revert to what ever it was before. I already have the AJAX coding for the search bar.
Also i need to check if its on the homepage or not, and if not load the homepage (currently done by php include), does javascript have an equivelant of php's include?
I am having a problem changing HREF and Text of a link from javascript. My code is as colos <a href="javascript:Action(9,'remove');" id="thelink">Remove</a>
I am building a site to replicate an existing site for a non-profit.[URL] want to have a rotating image on their home page, and I have it working using the following jQuery Code:
The problem is that I can't figure out how to clear the previous slide's decription (in the <p> tag of each Div). At present the descriptions do rotate, but they are all visible since they are within the stacked Div's. How can I get the descriptions to show and hide in sync with the images?
I'm fairly new to jQuery and JavaScript. I've beat around the block a couple times modifying code from here and there, but never written anything myself. Just thought I'd warn you.I'm writing a tidbit of code that is going to be used for a photographer's website. The concept of the site is very simple; I am going to have Drupal generating two lists. The first list is simply photographs, semantically they just come one after another. The second is a list of div tags that contain a description of the photographs.The only way that the imagescorrelatecurrently is their semantic order. The first image should be matched with the first description, the second image with the second description, and so on. I do plan on changing this, but for the time being it is not my main concern.
Because the number of images added to the page might not necessarily be limited, I need to have jQuery pair up the images with the proper description, and then display it on hover—dynamically. My current method requires me to write out each hover functionindividually.This is a problem because, as I have mentioned, the amount of photos on any given page should not be limited.Currently I have the functionality that I want, with the exception of the dynamic creation of functions. You can view what I have managed to do so far athttp://calvintennant.ca/blakeley.me/mock.htm.I have attached a .zip with all the files used to create that mock-up.
I have few input box, selector and submition button in my form can I use adescription on mouse hover likethis example. The example for the links I tried to dosomemodificationbut unable to do any effect like the example page. So, I want to know can I do like this?
I'm trying to create tooltips for a Drupal form that was built with the Form API. I'm able to show and hide all of the description fields on the form using the following method
so the story is that i using and IFRAME in my web site , and i want the main title of the document (which appears in the browser title bar) to be the title from the iframe 'page' . my English is not so good so i 'll give an example .
I am looking to use a similar method as facebook chat does, where it alternates between the original title text and 'friendsName has sent you a message!...'
At my day job, we use a cms that generates really terrible <title></title> tags that are killing our SE rankings.
Instead of taking the title of the piece of content and putting it in the title tags, it uses the name of the page template.
I first attempted this with jquery, but i'm looking for something that will basically just take <title>template name</title> and replace it with something friendlier.
I am customizing jquery scrollshow, it can be found originally here As you can see in the original script there are only images which scroll, now I have the description to show below each image which should also scroll as the images scroll. This description will include -
1. 'Name of the person in Image'
2.Article Title
3.Article short paragraph (Also this content will come from the db with PHP !)(Initially it can be implemented for some small dynamic text for images) To achieve that i tried to add the 'p tag' inside the image's li tag but they doesn't scroll.So I am trying to do some changes in the jquery functions they wrote. I tried this much, in the case link of wrap function
I've been working on photo gallery that can be seen here: [URL] I would like the title to change according to the picture selected. This works when you click on the thumbnail images. However, it current does not work with the drop-down menu, "back" and "next" buttons, or the automatic slide-show.
success(data, textStatus, jqXHR)Function, Array A function to be called if the request succeeds. The function gets passed three arguments: The data returned from the server, formatted according to the dataType parameter; a string describing the status; and the jqXHR (in jQuery 1.4.x, XMLHttpRequest) object.
'success': function(html){ jQuery("#quote-of-the-day").html(html) } success: function(data) { var out = "<ol>"; $(data).each(function(){ out+="<li>"+this.title+"</li>"; });
The above 2 ways of defining the success call back confused me.
1) According to definition, it should take 3 parameters, why here it only takes 1 parameter? 2) Why the name of parameter passed into function() can be different? Does this name matter?
This Link Description script is driving me crazy. The first URL below is the script exactly as I got it from javascriptsource.com, which works fine. But as soon as I replace the linktext with my own (see the second URL) the script stops working. I didn't change anything else from the original but the linktext. I've been racking my brains for hours but whatever it is, I'm missing it....
I just typed the script from the book char by char. I use Firefox browser, v.3.5.7. The error console does not display any mistakes. why on placing mouse over a link the status bar displays A HREF text instead of the link description.
I have to pass a certain number of parameters, extracted from DB, to a javascript function.Among them there are for example numbers but also descriptions as names and surnames
Code: <A href="javascript:doAction("+value+")"></A>" Where value is a set of parameters formatted for example in the following way: