Few Basic questions

Status
Not open for further replies.

naveen_reloaded

!! RecuZant By Birth !!
hi all...

actually i am not a programmer or know anything.. except some basic stuffs...

so here are myu questions///

1.) is there a way to make a frame or javascript to appear on the directed site from my page .... i mean whenever i redirect a user from my site to another.. is there a possiblity for me to attach a frame or bar or coloumn on top of the reffered page ?? i have seen many sites doing it.. thats why i asked,/...

2.) is there a way to put javascript into a flash file ?

3.)i want a little pop up for my site.. i want it to be transparent / moves along with the page and stays on top always.. i mean even when the users move the page donw...my pop up or anything similar to it be placed on top always..
could it be done ??

4,)is there a way to convert javascript into html link ??




may be someone can hep me .... with these simple things...

thanks ,....waiting for ur reply guys...
 

Pathik

Google Bot
1. Yup. Open the page in a frame of your site.
2. Yep. It is called Actionscript
3. You will get a floating menu script at dynamicdrive.com
4. Didnt get the question. Something like obml?
 
OP
naveen_reloaded

naveen_reloaded

!! RecuZant By Birth !!
thanks pathik...

just tell me whether all these can be incoporated into XML file...
since i need to implement them on blogger... or blogspot.com... whtever.. they dont use html , they use XML file.. or say all i get is a XML file to edit..

so help me in this regard...
leave the last question.. will come to it later...
 

victor_rambo

हॉर्न ओके प्लीज़
@naveen,
Did you try using 'Layout' tab ? There is an option to add HTML/javascript. You can put that floating menu script there.
 
OP
naveen_reloaded

naveen_reloaded

!! RecuZant By Birth !!
ya i have that option... but my modification like this *www.dynamicdrive.com/dynamicindex17/floatbar.htm

need to be written in a html or xml file...

i dont hink that add html/javascript will work??

please help..

and check in ur inbox
 
OP
naveen_reloaded

naveen_reloaded

!! RecuZant By Birth !!
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The entity name must immediately follow the '&' in the entity reference.

i am getting this whenever i edit my blogger template with this code

<script type="text/javascript">

/******************************************
* Popup Box- By Jim Silver @ jimsilver47@yahoo.com
* Visit *www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
******************************************/

var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

//drag drop function for NS 4////
/////////////////////////////////

var dragswitch=0
var nsx
var nsy
var nstemp

function drag_dropns(name){
if (!ns4)
return
temp=eval(name)
temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
temp.onmousedown=gons
temp.onmousemove=dragns
temp.onmouseup=stopns
}

function gons(e){
temp.captureEvents(Event.MOUSEMOVE)
nsx=e.x
nsy=e.y
}
function dragns(e){
if (dragswitch==1){
temp.moveBy(e.x-nsx,e.y-nsy)
return false
}
}

function stopns(){
temp.releaseEvents(Event.MOUSEMOVE)
}

//drag drop function for ie4+ and NS6////
/////////////////////////////////


function drag_drop(e){
if (ie4&&dragapproved){
crossobj.style.left=tempx+event.clientX-offsetx
crossobj.style.top=tempy+event.clientY-offsety
return false
}
else if (ns6&&dragapproved){
crossobj.style.left=tempx+e.clientX-offsetx+"px"
crossobj.style.top=tempy+e.clientY-offsety+"px"
return false
}
}

function initializedrag(e){
crossobj=ns6? document.getElementById("showimage") : document.all.showimage
var firedobj=ns6? e.target : event.srcElement
var topelement=ns6? "html" : document.compatMode && document.compatMode!="BackCompat"? "documentElement" : "body"
while (firedobj.tagName!=topelement.toUpperCase() && firedobj.id!="dragbar"){
firedobj=ns6? firedobj.parentNode : firedobj.parentElement
}

if (firedobj.id=="dragbar"){
offsetx=ie4? event.clientX : e.clientX
offsety=ie4? event.clientY : e.clientY

tempx=parseInt(crossobj.style.left)
tempy=parseInt(crossobj.style.top)

dragapproved=true
document.onmousemove=drag_drop
}
}
document.onmouseup=new Function("dragapproved=false")

////drag drop functions end here//////

function hidebox(){
crossobj=ns6? document.getElementById("showimage") : document.all.showimage
if (ie4||ns6)
crossobj.style.visibility="hidden"
else if (ns4)
document.showimage.visibility="hide"
}

</script>


help me...

still now i cant add them...??

Guys can i usethis trick to use it with adsense ???
seems nice trick to me...


*www.dynamicdrive.com/dynamicindex2/ajaxticker.htm


please help ..

another thing i want to know is that

is there a way to redirect the user , i mean the links in my site.. for example in my article i have a link to Microsoft.com ... but i want the users to redirect them to a intermediate site.. wait there for 5 seconds and automatically redirect them to microsoft.com...

that would be great since i can paste my referrals .. best articles of my site... ads.. and other news.. etc while they are automatically moved to microsoft.com....

please help me...
 
Last edited:

victor_rambo

हॉर्न ओके प्लीज़
^How are you editing template?
Are you doing it as Layout>Page elements>Add/remove page elements?
 
OP
naveen_reloaded

naveen_reloaded

!! RecuZant By Birth !!
yup... thats how i do...

i ddo know that some editing cant be done thru this .. only thru FTP....

wht shalll i do now ??
 
Status
Not open for further replies.
Top Bottom