I am working on a short application. In which I have followiing things.
Obviously My question is about 2 Point. I cant figure out how to make this bookmark link to an absolute css/javascript so that it can open on any website.
You can add javascript to URLs like so:
<a href="javascript:alert('hello');">Bookmarklet</a>
Note that I have prepended the URL with javascript:
to indicate the browser that it should execute the URL as javascript.
So for a pop it would be something like:
<a href="javascript:window.open('http://www.example.org');">Bookmarklet</a>
Here is a jsFiddle with the code above for you to test.
For more information about bookmarklets you might like the following article: http://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/