How to have multiple sites on drupal 7?

VB.NET Multiple sites using same href="everything here is different" how to code?

  • I have an app that is going to sign into my social bookmarking sites...I already have accounts on all of these sites but I want to programmaticly click on these links but each link has a different name for the link. BUT.. Each link does has the same inner text info in the HTML but different urls for the links <a href="submit.php?" rel="nofollow">Submit</a> How can I program my app to locate and click on the link that has the <a href="" rel="nofollow">Submit</a> Is there a way to ignore the information in between the ""? Thanks

  • Answer:

    Yeah, use a # between the "". example: <a href="#" rel="nofollow">Submit</a> Adding the # within the <a> you can trace any link with that in there with a simple jQuery code: Include the jQuery script <script type="text/javascript" src="http://ajax.googleapis.com/ajax/li… Now write the jQuery to take the hash(#) from an <a> tag to ignore whats within the "" in herf. <script> $(function() { //catch all clicks on <a> tags $("a").click(function() { //check if the clicked link has a hash if(this.hash) { //get rid of the # symbol var hash this.hash.substr(1); //if no # return false return false; } }); }); </script> Maybe this is the answer you are looking for.

simpleon... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.