• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Display file catalog entry form in pop up widnow
Display file catalog entry form in pop up widnow
Harina
Posts: 8
Reputation: 0

Message # 1 | 6:23 AM
I want it in pop up window and i have put it there...but the add button does not work
Code
<script type="text/javascript">
function openFormu(){
new _uWnd('contact','Search',400,150,{fadespeed: 666, fadeclosespeed: 666, fadetype: 2, fadeclosetype: 2,align:'left',footerc:' ',min:0,max:0,resize:0,closeonesc:1,autosize:1,shadow:1,topclass:'x-lightwnd',gridclass:'myWinGridBlack',modal:1}, $(".myformu").html() );
}
</script>
<div class="myformupload" style="display:none;">
    
     <?if($TITLE_FL$)?>
    <li><label for="title">$TITLE_SIGN$:</label>        <li>$TITLE_FL$         <li class="notcolumn"><hr /><li class="notcolumn"><?endif?>

    <?if($MESSAGE_FL$)?>
    <li class="notcolumn">$MESSAGE_FL$                  <li class="notcolumn">   <li class="notcolumn"><hr /><li class="notcolumn"><?endif?>
     
     
<input type="submit" style="display:none;" id="doSmbBt" /><input type="button" class="manFlSbm" id="ldF18" style="font-weight:bold;" value="Add" onclick="document.getElementById('doSmbBt').click();" />
</div>


and then i call it with this link

Code
<a href="#" onclick="openFormupload();return false;">Upload</a>
bigblog
node_modules
Posts: 1552
Reputation: 73

Message # 2 | 6:06 PM
i'm kinda iffy on this part of your code:
Code
onclick="document.getElementById('doSmbBt').click();"


try this instead:
Code
onclick="document.getElementById(\"doSmbBt\").click();"


some console output would be nice too (Ctrl/Cmd+Shift+J for chrome)

hey i'm joe and i'm a twink, please enjoy your stay

i do not work for the company anymore, sorry for the late replies
icon by Nathan Butler
Harina
Posts: 8
Reputation: 0

Message # 3 | 10:43 AM
Hmm didnt work either
uCoz Community » For Webmasters » Design Customization » Display file catalog entry form in pop up widnow
  • Page 1 of 1
  • 1
Search: