[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/styles/prosilver/template/ -> forum_fn.js (summary)

phpBB3 forum functions

File Size: 443 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 16 functions

  popup()
  jumpto()
  marklist()
  viewableArea()
  dE()
  subPanels()
  printPage()
  displayBlocks()
  selectCode()
  play_qt_file()
  is_node_name()
  is_in_array()
  find_in_tree()
  phpbb_check_key()
  submit_default_button()
  apply_onkeypress_event()

Functions
Functions that are not part of a class:

popup(url, width, height, name)   X-Ref
Window popup


jumpto()   X-Ref
Jump to page


marklist(id, name, state)   X-Ref
Mark/unmark checklist
id = ID of parent container, name = name prefix, state = state [true/false]


viewableArea(e, itself)   X-Ref
Resize viewable area for attached image or topic review panel (possibly others to come)
e = element


dE(n, s, type)   X-Ref
Set display of page element
s[-1,0,1] = hide,toggle display,show
type = string: inline, block, inline-block or other CSS "display" type


subPanels(p)   X-Ref
Alternate display of subPanels


printPage()   X-Ref
Call print preview


displayBlocks(c, e, t)   X-Ref
Show/hide groups of blocks
c = CSS style name
e = checkbox element
t = toggle dispay state (used to show 'grip-show' image in the profile block when hiding the profiles)


selectCode(a)   X-Ref
No description

play_qt_file(obj)   X-Ref
Play quicktime file by determining it's width/height
from the displayed rectangle area


is_node_name(elem, name)   X-Ref
Check if the nodeName of elem is name

author: jQuery

is_in_array(elem, array)   X-Ref
Check if elem is in array, return position

author: jQuery

find_in_tree(node, tag, type, class_name)   X-Ref
Find Element, type and class in tree
Not used, but may come in handy for those not using JQuery

author: jQuery.find, Meik Sievertsen

phpbb_check_key(event)   X-Ref
Check event key


submit_default_button(event, selector, class_name)   X-Ref
Usually used for onkeypress event, to submit a form on enter


apply_onkeypress_event()   X-Ref
Apply onkeypress event for forcing default submit button on ENTER key press
The jQuery snippet used is based on http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/
The non-jQuery code is a mimick of the jQuery code ;)




Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1